Skip to content

Commit 6a0ce75

Browse files
committed
add
1 parent 08da56a commit 6a0ce75

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tencentcloud/services/cvm/resource_tc_instance.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@ func ResourceTencentCloudInstance() *schema.Resource {
111111
Description: "The ID of a placement group.",
112112
},
113113
"force_replace_placement_group_id": {
114-
Type: schema.TypeBool,
115-
Optional: true,
116-
Description: "Whether to force the instance host to be replaced. Value range: true: Allows the instance to change the host and restart the instance. Local disk machines do not support specifying this parameter; false: Does not allow the instance to change the host and only join the placement group on the current host. This may cause the placement group to fail to change. Only useful for change `placement_group_id`, Default is false.",
114+
Type: schema.TypeBool,
115+
Optional: true,
116+
RequiredWith: []string{"placement_group_id"},
117+
Description: "Whether to force the instance host to be replaced. Value range: true: Allows the instance to change the host and restart the instance. Local disk machines do not support specifying this parameter; false: Does not allow the instance to change the host and only join the placement group on the current host. This may cause the placement group to fail to change. Only useful for change `placement_group_id`, Default is false.",
117118
},
118119
// payment
119120
"instance_charge_type": {

0 commit comments

Comments
 (0)