-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_acm_certificate/aws_acm_certificate_validation deleted and recreated every terraform plan/apply #21770
Comments
Hey @jordanbcooper 👋 Thanks for taking the time to open up this fresh issue so we can take a look at this. So that we have all of the necessary information in order to look into this, can you update the issue description to include the (redacted as necessary) debug log as well? |
Sorry about that @justinretzolk , debug added. |
Was digging around a bit, is this why a new cert is created every time? terraform-provider-aws/aws/resource_aws_acm_certificate_validation.go Lines 16 to 40 in a15140e
|
Hey folks! Any chance I can get this looked at? Happy to provide more information as needed. |
Hey @jordanbcooper 👋 I didn't want to leave you hanging, especially since I'd replied to you while triaging. We use 👍 reactions to help with prioritization, so I can't promise a date, but we'll definitely be looking into this as soon as time allows. |
Seeing the same behaviour and looking at terraform-aws-modules/terraform-aws-acm#90 I guess there are more being affected. |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
Unstale |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
main.tf where apply is made
../frontend-public/main.tf
../frontend-public/data.tf
../frontend-public/variables.tf
Debug Output
https://gist.github.com/jordanbcooper/1c7fbee057d50d49086e10eaf16e1d4d
Panic Output
Expected Behavior
I use this as a module (I believe I have provided relevant tf files), and these certificates should only be created once.
Actual Behavior
Subsequent terraform plan/apply will delete and recreate the certs and cert validations. Can provide additional TF files if needed to reproduce.
Steps to Reproduce
Unsure how to describe reproduction, it just happens every time I run terraform. These are not imported resources.
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: