Skip to content

feat(ccn): [115175599] add new resource #2730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 17, 2024
Merged

feat(ccn): [115175599] add new resource #2730

merged 4 commits into from
Jul 17, 2024

Conversation

SevenEarth
Copy link
Collaborator

No description provided.

"route_table_id": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是否支持修改?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModifyCcnAttachedInstancesAttribute 接口有RouteTableId入参,但是修改无效(TF暂时只能forceNew)

},
"instances": {
Required: true,
Type: schema.TypeList,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是否要感知顺序

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里无顺序,已改成set

cpf.HttpProfile.Endpoint = "vpc.tencentcloudapi.com"
cpf.HttpProfile.ReqMethod = "POST"
client := common.NewCommonClient(credential, region, cpf).WithLogger(log.Default())

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请求头是否还带?

@@ -0,0 +1,74 @@
Provides a resource to create a CCN Route table associate instance config.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加上NOTE,提示当前CCN的所有策略都需要在同一个资源下管理

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已添加

@hellertang hellertang merged commit 5a83d4e into master Jul 17, 2024
8 checks passed
@hellertang hellertang deleted the feat/ccn branch July 17, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants