Skip to content

Commit 8afa773

Browse files
author
ivan
committed
回退版本(添加镜像),该文件不再维护
1 parent 37314e6 commit 8afa773

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tencentcloud/resource_tc_container_cluster_instance.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,6 @@ func resourceTencentCloudContainerClusterInstance() *schema.Resource {
199199
Computed: true,
200200
Description: "Describe the lan ip of the node.",
201201
},
202-
"os": {
203-
Type: schema.TypeString,
204-
Optional: true,
205-
ValidateFunc: validateImageID,
206-
Description: "The valid image id, format of img-xxx.",
207-
},
208202
},
209203
}
210204
}
@@ -467,10 +461,6 @@ func resourceTencentCloudContainerClusterInstancesCreate(d *schema.ResourceData,
467461
iAdvanced.Unschedulable = helper.IntInt64(v.(int))
468462
}
469463

470-
if v, ok := d.GetOk("os"); ok {
471-
runInstancesPara.ImageId = helper.String(v.(string))
472-
}
473-
474464
runInstancesParas := runInstancesPara.ToJsonString()
475465
cvms.Work = []string{runInstancesParas}
476466

0 commit comments

Comments
 (0)