Skip to content

Commit 04f92c7

Browse files
committed
launch config support chane
1 parent a379fd2 commit 04f92c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tencentcloud/services/as/resource_tc_as_scaling_group.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,10 @@ func resourceTencentCloudAsScalingGroupUpdate(d *schema.ResourceData, meta inter
513513
updateAttrs = append(updateAttrs, "scaling_group_name")
514514
request.AutoScalingGroupName = helper.String(d.Get("scaling_group_name").(string))
515515
}
516+
if d.HasChange("configuration_id") {
517+
updateAttrs = append(updateAttrs, "configuration_id")
518+
request.LaunchConfigurationId = helper.String(d.Get("configuration_id").(string))
519+
}
516520
if d.HasChange("max_size") {
517521
updateAttrs = append(updateAttrs, "max_size")
518522
request.MaxSize = helper.IntUint64(d.Get("max_size").(int))

0 commit comments

Comments
 (0)