Skip to content

Commit c35fcf5

Browse files
tongyimingmikatong
andauthored
permit_default_key_pair_login add deprecated (#1890)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent efd4499 commit c35fcf5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tencentcloud/resource_tc_lighthouse_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ func resourceTencentCloudLighthouseInstance() *schema.Resource {
168168
Optional: true,
169169
Computed: true,
170170
ValidateFunc: validateAllowedStringValue([]string{"YES", "NO"}),
171+
Deprecated: "It will be deprecated. Use `tencentcloud_lighthouse_key_pair_attachment` manage key pair.",
171172
Description: "Whether to allow login using the default key pair. `YES`: allow login; `NO`: disable login. Default: `YES`.",
172173
},
173174
"isolate_data_disk": {

website/docs/r/lighthouse_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The following arguments are supported:
9696
* `is_update_bundle_id_auto_voucher` - (Optional, Bool) Whether the voucher is deducted automatically when update bundle id. Value range: `true`: indicates automatic deduction of vouchers, `false`: does not automatically deduct vouchers. Default value: `false`.
9797
* `isolate_data_disk` - (Optional, Bool) Whether to return the mounted data disk. `true`: returns both the instance and the mounted data disk; `false`: returns the instance and no longer returns its mounted data disk. Default: `true`.
9898
* `login_configuration` - (Optional, List) Login password of the instance. It is only available for Windows instances. If it is not specified, it means that the user choose to set the login password after the instance creation.
99-
* `permit_default_key_pair_login` - (Optional, String) Whether to allow login using the default key pair. `YES`: allow login; `NO`: disable login. Default: `YES`.
99+
* `permit_default_key_pair_login` - (Optional, String, **Deprecated**) It will be deprecated. Use `tencentcloud_lighthouse_key_pair_attachment` manage key pair. Whether to allow login using the default key pair. `YES`: allow login; `NO`: disable login. Default: `YES`.
100100
* `zone` - (Optional, String) List of availability zones. A random AZ is selected by default.
101101

102102
The `containers` object supports the following:

0 commit comments

Comments
 (0)