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

resource/alicloud_ens_instance: remove Required label for internet_max_bandwidth_out; resource/alicloud_ens_vswitch: modify timeoutes threshold. #7422

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion alicloud/resource_alicloud_ens_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ func resourceAliCloudEnsInstance() *schema.Resource {
},
"internet_max_bandwidth_out": {
Type: schema.TypeInt,
Required: true,
Optional: true,
ForceNew: true,
Computed: true,
},
"ip_type": {
Type: schema.TypeString,
Expand Down
6 changes: 3 additions & 3 deletions alicloud/resource_alicloud_ens_vswitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ func resourceAliCloudEnsVswitch() *schema.Resource {
State: schema.ImportStatePassthrough,
},
Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(5 * time.Minute),
Update: schema.DefaultTimeout(5 * time.Minute),
Delete: schema.DefaultTimeout(5 * time.Minute),
Create: schema.DefaultTimeout(30 * time.Minute),
Update: schema.DefaultTimeout(30 * time.Minute),
Delete: schema.DefaultTimeout(30 * time.Minute),
},
Schema: map[string]*schema.Schema{
"cidr_block": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/ens_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The following arguments are supported:
* `internet_charge_type` - (Optional, Available since v1.208.0) Instance bandwidth billing method. If the billing method can be selected for the first purchase, the subsequent value of this field will be processed by default according to the billing method selected for the first time. Optional values:
- BandwidthByDay: Daily peak bandwidth
- 95bandwidthbymonth: 95 peak bandwidth.
* `internet_max_bandwidth_out` - (Required, ForceNew, Available since v1.208.0) Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
* `internet_max_bandwidth_out` - (Optional, ForceNew, Computed, Available since v1.208.0) Maximum public network bandwidth. The field type is Long, and the precision may be lost during serialization/deserialization. Please note that the value must not be greater than 9007199254740991.
* `ip_type` - (Optional) The IP type. Value:
- ipv4 (default):IPv4
- ipv6:IPv6
Expand Down
Loading