-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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_validation forces new resource every time we run terraform plan #8714
Comments
Duplicate of #8531 I believe. |
@ani-patel thanks for opening this issue, and sorry you are running into trouble here. This is a duplicate of #8531 so I am going to close this issue and ask that any new comments be tracked on the existing thread. If you haven't already done so please upvote #8531 |
Hi Nick,
This is different than #8531. My affected resource is
"aws_acm_certificate_validation". The certificate is not recreated every
time but instead the validation is performed again and again
…On Mon, May 20, 2019 at 4:30 PM Nick Griffin ***@***.***> wrote:
Duplicate of #8531
<#8531>
I believe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8714>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC7ZBOCRELVTUOSBSHMPVN3PWKAD7ANCNFSM4HOAVQYQ>
.
|
Please reopen this issue. It is not a duplicate of 8531. As @ani-patel mentioned, this issue is specific to the certificate validation, NOT the certificate itself. Thank you! |
@MeMan-MasterOfTheUniverse @ani-patel thanks for the additional information here, and my apologies for any confusion. I reopened the issue and have applied the needs-triage label. Have you tried reproducing this issue with Terraform 0.12? If so can you please provide a redacted version of the plan output. |
I am also experiencing this. Validation is forcing a new resource every time and can take up to 45 minutes before it errors out. Environment: terraform 0.12.9 with aws provider 2.32, using the same method to create a cert found in this module: implementation:
We used real zone and domain_name entries, of course. The first apply eventually succeeds, but what we see on the second apply and beyond is the following unless we destroy and apply:
|
As a workaround, I added resource "aws_acm_certificate_validation" "certificate" {
[...]
lifecycle {
ignore_changes = [
"id",
]
}
} |
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! |
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. |
Hi,
I am facing an issue where my aws_acm_certificate_validation is forcing new resource every time I do a
terraform plan
orterraform apply
and as a result even the route 53 records are updated with their GuidsTo replicate the issue below is a sample code:
This was not happening until a week back but we are facing these issues since then
The text was updated successfully, but these errors were encountered: