You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Password for the instance. In order for the new password to take effect, the instance will be restarted after the password change.",
340
340
},
341
+
"keep_image_login": {
342
+
Type: schema.TypeBool,
343
+
Optional: true,
344
+
Default: false,
345
+
ForceNew: true,
346
+
ConflictsWith: []string{"key_name", "password"},
347
+
Description: "Whether to keep image login or not, default is `false`. When the image type is private or shared or imported, this parameter can be set `true`.",
348
+
},
341
349
"user_data": {
342
350
Type: schema.TypeString,
343
351
Optional: true,
@@ -554,6 +562,12 @@ func resourceTencentCloudInstanceCreate(d *schema.ResourceData, meta interface{}
Copy file name to clipboardExpand all lines: website/docs/r/instance.html.markdown
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,7 @@ The following arguments are supported:
95
95
*`instance_type` - (Optional) The type of the instance.
96
96
*`internet_charge_type` - (Optional, ForceNew) Internet charge type of the instance, Valid values are `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `BANDWIDTH_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. This value does not need to be set when `allocate_public_ip` is false.
97
97
*`internet_max_bandwidth_out` - (Optional) Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bits per second). This value does not need to be set when `allocate_public_ip` is false.
98
+
*`keep_image_login` - (Optional, ForceNew) Whether to keep image login or not, default is `false`. When the image type is private or shared or imported, this parameter can be set `true`.
98
99
*`key_name` - (Optional) The key pair to use for the instance, it looks like `skey-16jig7tx`.
99
100
*`password` - (Optional) Password for the instance. In order for the new password to take effect, the instance will be restarted after the password change.
100
101
*`placement_group_id` - (Optional, ForceNew) The ID of a placement group.
0 commit comments