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
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:# module.web_server.tencentcloud_cdn_domain.webserver_cdn["my_domain_here"] will be updated in-place
~ resource"tencentcloud_cdn_domain""webserver_cdn" {
area="mainland"cname="my_cname_here"create_time="2020-05-19 16:42:08"domain="my_domain_here"full_url_cache=falseid="my_domain_here"service_type="web"status="online"tags={}
~ https_config {
http2_switch="on"https_switch="on"ocsp_stapling_switch="on"spdy_switch="on"verify_client="off"-client_certificate_config {}
~ server_certificate_config {
+certificate_content=<<~EOT
-----BEGIN CERTIFICATE-----
key_content_here
-----END CERTIFICATE----------BEGIN CERTIFICATE-----
key_content_here
-----END CERTIFICATE-----
EOT
~ certificate_name="my_domain_name"->"basic-web-server"+private_key=<<~EOT
-----BEGIN PRIVATE KEY-----
key_content_here
-----END PRIVATE KEY-----
EOT
}
}
origin {
backup_origin_list=[]
cos_private_access="off"origin_list=[
"xx.xx.xx.xx",
"xx.xx.xx.xx",
]
origin_pull_protocol="http"origin_type="ip"
}
}
Plan:0 to add, 1 to change, 0 to destroy.
Steps to Reproduce
terraform apply
After done with the terraform apply, run terraform apply once again.
Expected Behavior
Second terraform apply / terraform plan should returns / display no resource changes as no source code has been updated since the last creation of resource.
The text was updated successfully, but these errors were encountered:
Hi @jianzhiteh , sorry for the trouble.
The problem has been fixed and released in v1.33.1, please have a try.
In addition, the certificate name does not support customization, the default value is the domain name.
Description
tencentcloud_cdn_domain
always return changes whenterraform plan
orterraform apply
server_certificate_config.certificate_content,
server_certificate_config.private_key` will always display "Add".server_certificate_config.certificate_name
will always display "Changed".terraform.tfstate
file, it seems that the information in No 2, 3 aren't recorded.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Steps to Reproduce
terraform apply
terraform apply
, runterraform apply
once again.Expected Behavior
terraform apply
/terraform plan
should returns / display no resource changes as no source code has been updated since the last creation of resource.The text was updated successfully, but these errors were encountered: