-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ssl-datasource #2173
feat: ssl-datasource #2173
Conversation
```hcl | ||
data "tencentcloud_ssl_describe_host_cos_instance_list" "describe_host_cos_instance_list" { | ||
certificate_id = "8u8DII0l" | ||
resource_type = "cos" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的resource_type只能填写“cos”是吧
```hcl | ||
data "tencentcloud_ssl_describe_host_cdn_instance_list" "describe_host_cdn_instance_list" { | ||
certificate_id = "8u8DII0l" | ||
resource_type = "cdn" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的resource_type只能填写“cdn”是吧
```hcl | ||
data "tencentcloud_ssl_describe_host_api_gateway_instance_list" "describe_host_api_gateway_instance_list" { | ||
certificate_id = "9Bpk7XOu" | ||
resource_type = "apiGateway" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的resource_type只能填写“ apiGateway”是吧
} | ||
|
||
d.SetId(helper.DataResourceIdsHash(ids)) | ||
output3, ok := d.GetOk("result_output_file") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里为啥命名为output3呢
} | ||
|
||
d.SetId(helper.DataResourceIdsHash(ids)) | ||
output3, ok := d.GetOk("result_output_file") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
output3 同上
1af2f5f
to
7622a4a
Compare
85ea143
to
2d628ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ssl datasource