Skip to content

Commit dc9f77c

Browse files
committed
add default period
1 parent 8320977 commit dc9f77c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tencentcloud/services/vpn/resource_tc_vpn_gateway.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ func ResourceTencentCloudVpnGateway() *schema.Resource {
2525
Update: resourceTencentCloudVpnGatewayUpdate,
2626
Delete: resourceTencentCloudVpnGatewayDelete,
2727
Importer: &schema.ResourceImporter{
28-
State: schema.ImportStatePassthrough,
28+
State: helper.ImportWithDefaultValue(map[string]interface{}{
29+
"prepaid_period": 1,
30+
}),
2931
},
3032

3133
Schema: map[string]*schema.Schema{

0 commit comments

Comments
 (0)