Skip to content
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

doc/alicloud_ga_accelerator,alicloud_ga_bandwidth_package: Optimize the documentation #4377

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

Wanghx0991
Copy link
Contributor

No description provided.

@@ -34,7 +34,7 @@ The following arguments are supported:
* `accelerator_name` - (Optional) The Name of the GA instance.
* `auto_use_coupon` - (Optional) Use coupons to pay bills automatically. Default value is `false`. Valid value: `true`: Use, `false`: Not used.
* `description` - (Optional) Descriptive information of the global acceleration instance.
* `duration` - (Required, ForceNew) The duration. The value range is 1-9.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

这个duration是schema和文档定义不一致(schema里已经不是ForceNew,文档里没有同步删除)

@@ -82,7 +82,6 @@ func resourceAlicloudGaBandwidthPackage() *schema.Resource {
"duration": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

只有创建涉及, 查不回来,应该做为额外入参处理, 选择将ForceNew属性移除

@xiaozhu36 xiaozhu36 changed the title doc/ga_accelerator,ga_bandwidth_package: Optimize the documentation doc/alicloud_ga_accelerator,alicloud_ga_bandwidth_package: Optimize the documentation Dec 17, 2021
@xiaozhu36 xiaozhu36 merged commit 6be18de into aliyun:master Dec 17, 2021
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.

None yet

2 participants