-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Impossible to update the intermediate chain on an imported ACM certificate #11615
Comments
I verified that re-running the To get the chain updated I needed to update it through the AWS console. |
I also found that error when attempting to add a chain certificate and update the certificate body on an existing resource. I noticed that neither the certificate body nor the chain were updated, although the error went away for me on the second run as well. I had to delete the existing ELB listeners and ACM certificate, then re-run terraform, to resolve the issue. In the past, after enough re-runs it eventually goes through. This time, nothing. I think the issue is at least partially on the AWS side because I see certificates in the ACM console, but none available when I attempt to add an HTTPS listener to an LB resource. |
Hi folks 👋 The fix for this, saving the full attribute values in the Terraform state instead of hashed values, has been merged and will release with version 3.0.0 of the Terraform AWS Provider, likely in two weeks. The version 3 upgrade guide will outline some details about a one-time
If you have trouble after upgrading to version 3.0.0 of the Terraform AWS Provider, please create a new issue and we will take a look. Thanks so much and apologies for the frustrating behavior in the meantime. |
This has been released in version 3.0.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This issue was originally opened by @zioalex as hashicorp/terraform#23869. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/zioalex/0b4c01ea1a4d6213fee1cff86ae50a46
Crash Output
Expected Behavior
I expect to have the certificate updated with the new cert chain or a new certificate with the update chain.
Actual Behavior
it fails with:
Steps to Reproduce
have a terraform.tfvars with:
Then
this works correctly and the cert is created.
Change the intermediate chain and re-apply and it will fail.
Additional Context
I tried to this with AWS console and I am able to re-import the same cert with a different chain.
References
The text was updated successfully, but these errors were encountered: