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
***New Data Source**: `tencentcloud_vod_adaptive_dynamic_streaming_templates`
10
+
***New Data Source**: `tencentcloud_vod_adaptive_dynamic_streaming_templates`.
11
11
***New Data Source**: `tencentcloud_vod_image_sprite_templates`.
12
12
***New Data Source**: `tencentcloud_vod_procedure_templates`.
13
13
***New Data Source**: `tencentcloud_vod_snapshot_by_time_offset_templates`.
14
14
***New Data Source**: `tencentcloud_vod_super_player_configs`.
15
15
16
+
ENHANCEMENTS:
17
+
18
+
* Resource: `tencentcloud_mysql_instance` modify argument `engine_version` to support mysql 8.0.
19
+
* Resource: `tencentcloud_clb_listener_rule` add new argument `forward_type` to support backend protocol([#522](https://github.com/tencentcloudstack/terraform-provider-tencentcloud/issues/522))
20
+
* Resource: `tencentcloud_instance` add new argument `keep_image_login` to support keeping image login.
Description: "Scheduling method of the CLB listener rules, and available values are 'WRR', 'IP HASH' and 'LEAST_CONN'. The default is 'WRR'. NOTES: TCP/UDP/TCP_SSL listener allows direct configuration, HTTP/HTTPS listener needs to be configured in tencentcloud_clb_listener_rule.",
Description: "The name of the CVM. The max length of instance_name is 60, and default value is `Terraform-CVM-Instance`.",
123
+
Description: "The name of the instance. The max length of instance_name is 60, and default value is `Terraform-CVM-Instance`.",
124
124
},
125
125
"instance_type": {
126
126
Type: schema.TypeString,
127
127
Optional: true,
128
128
Computed: true,
129
129
ValidateFunc: validateInstanceType,
130
-
Description: "The type of instance to start.",
130
+
Description: "The type of the instance.",
131
131
},
132
132
"hostname": {
133
133
Type: schema.TypeString,
134
134
Optional: true,
135
135
ForceNew: true,
136
-
Description: "The hostname of CVM. Windows instance: The name should be a combination of 2 to 15 characters comprised of letters (case insensitive), numbers, and hyphens (-). Period (.) is not supported, and the name cannot be a string of pure numbers. Other types (such as Linux) of instances: The name should be a combination of 2 to 60 characters, supporting multiple periods (.). The piece between two periods is composed of letters (case insensitive), numbers, and hyphens (-).",
136
+
Description: "The hostname of the instance. Windows instance: The name should be a combination of 2 to 15 characters comprised of letters (case insensitive), numbers, and hyphens (-). Period (.) is not supported, and the name cannot be a string of pure numbers. Other types (such as Linux) of instances: The name should be a combination of 2 to 60 characters, supporting multiple periods (.). The piece between two periods is composed of letters (case insensitive), numbers, and hyphens (-).",
137
137
},
138
138
"project_id": {
139
139
Type: schema.TypeInt,
140
140
Optional: true,
141
141
Default: 0,
142
-
Description: "The project CVM belongs to, default to 0.",
142
+
Description: "The project the instance belongs to, default to 0.",
143
143
},
144
144
"running_flag": {
145
145
Type: schema.TypeBool,
146
146
Optional: true,
147
147
Default: true,
148
-
Description: "Set instance to running or stop. Default value is true, the instance will shutdown when flag is false.",
148
+
Description: "Set instance to running or stop. Default value is true, the instance will shutdown when this flag is false.",
Description: "Max price of spot instance, is the format of decimal string, for example \"0.50\". Note: it only works when instance_charge_type is set to `SPOTPAID`.",
189
+
Description: "Max price of a spot instance, is the format of decimal string, for example \"0.50\". Note: it only works when instance_charge_type is set to `SPOTPAID`.",
Description: "Maximum outgoing bandwidth to the public network, measured in Mbps (Mega bit per second). This value does not need to be set when `allocate_public_ip` is false.",
204
+
Description: "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.",
205
205
},
206
206
"allocate_public_ip": {
207
207
Type: schema.TypeBool,
208
208
Optional: true,
209
209
Default: false,
210
210
ForceNew: true,
211
-
Description: "Associate a public ip address with an instance in a VPC or Classic. Boolean value, Default is false.",
211
+
Description: "Associate a public IP address with an instance in a VPC or Classic. Boolean value, Default is false.",
212
212
},
213
213
// vpc
214
214
"vpc_id": {
215
215
Type: schema.TypeString,
216
216
Optional: true,
217
217
Computed: true,
218
-
Description: "The id of a VPC network. If you want to create instances in VPC network, this parameter must be set.",
218
+
Description: "The ID of a VPC network. If you want to create instances in a VPC network, this parameter must be set.",
219
219
},
220
220
"subnet_id": {
221
221
Type: schema.TypeString,
222
222
Optional: true,
223
223
Computed: true,
224
-
Description: "The id of a VPC subnetwork. If you want to create instances in VPC network, this parameter must be set.",
224
+
Description: "The ID of a VPC subnet. If you want to create instances in a VPC network, this parameter must be set.",
225
225
},
226
226
"private_ip": {
227
227
Type: schema.TypeString,
228
228
Optional: true,
229
229
Computed: true,
230
-
Description: "The private ip to be assigned to this instance, must be in the provided subnet and available.",
230
+
Description: "The private IP to be assigned to this instance, must be in the provided subnet and available.",
231
231
},
232
232
// security group
233
233
"security_groups": {
234
234
Type: schema.TypeSet,
235
235
Elem: &schema.Schema{Type: schema.TypeString},
236
236
Optional: true,
237
237
Computed: true,
238
-
Description: "A list of security group ids to associate with.",
238
+
Description: "A list of security group IDs to associate with.",
Description: "The key pair to use for the instance, it looks like skey-16jig7tx.",
333
+
Description: "The key pair to use for the instance, it looks like `skey-16jig7tx`.",
334
334
},
335
335
"password": {
336
336
Type: schema.TypeString,
337
337
Optional: true,
338
338
Sensitive: true,
339
-
Description: "Password to an instance. In order to take effect new password, the instance will be restarted after modifying the password.",
339
+
Description: "Password for the instance. In order for the new password to take effect, the instance will be restarted after the password change.",
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`.",
340
348
},
341
349
"user_data": {
342
350
Type: schema.TypeString,
343
351
Optional: true,
344
352
ForceNew: true,
345
353
ConflictsWith: []string{"user_data_raw"},
346
-
Description: "The user data to be specified into this instance. Must be encrypted in base64 format and limited in 16 KB.",
354
+
Description: "The user data to be injected into this instance. Must be base64 encoded and up to 16 KB.",
347
355
},
348
356
"user_data_raw": {
349
357
Type: schema.TypeString,
350
358
Optional: true,
351
359
ForceNew: true,
352
360
ConflictsWith: []string{"user_data"},
353
-
Description: "The user data to be specified into this instance, plain text. Conflicts with `user_data`. Limited in 16 KB after encrypted in base64 format.",
361
+
Description: "The user data to be injected into this instance, in plain text. Conflicts with `user_data`. Up to 16 KB after base64 encoded.",
Description: "Indicate whether to delete instance directly or not. Default is false. If set true, the instance will be permanently deleted instead of staying in recycle bin. Note: only works for `PREPAID` instance.",
372
+
Description: "Indicate whether to force delete the instance. Default is false. If set true, the instance will be permanently deleted instead of being moved into the recycle bin. Note: only works for `PREPAID` instance.",
0 commit comments