We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prepaid_period
1 parent 8320977 commit 1583d01Copy full SHA for 1583d01
.changelog/2759.txt
@@ -0,0 +1,3 @@
1
+```release-note:enhancement
2
+resource/tencentcloud_vpn_gateway: add default value for `prepaid_period` while import
3
+```
tencentcloud/services/vpn/resource_tc_vpn_gateway.go
@@ -25,7 +25,9 @@ func ResourceTencentCloudVpnGateway() *schema.Resource {
25
Update: resourceTencentCloudVpnGatewayUpdate,
26
Delete: resourceTencentCloudVpnGatewayDelete,
27
Importer: &schema.ResourceImporter{
28
- State: schema.ImportStatePassthrough,
+ State: helper.ImportWithDefaultValue(map[string]interface{}{
29
+ "prepaid_period": 1,
30
+ }),
31
},
32
33
Schema: map[string]*schema.Schema{
0 commit comments