Skip to content
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

Version 4.12.0 confuses id and certificate arn of resource aws_acm_certificate_validation #24470

Closed
christiangeiger-bayer opened this issue Apr 29, 2022 · 4 comments
Labels
bug Addresses a defect in current functionality. service/acm Issues and PRs that pertain to the acm service.

Comments

@christiangeiger-bayer
Copy link

I applied a terraform script using an aws_acm_certificate_validation. The resource already exists in the terraform state. When the terraform apply refreshed the state the following error is given:

aws_acm_certificate_validation.main: Refreshing state... [id=2021-08-16 14:39:01 +0000 UTC]

│Error: reading ACM Certificate (2021-08-16 14:39:01 +0000 UTC): ValidationException: 1 validation error detected: Value '2021-08-16 14:39:01 +0000 UTC' at 'certificateArn' failed to satisfy constraint: Member must satisfy regular expression pattern: arn:[\w+=/,.@-]+:acm:[\w+=/,.@-]:[0-9]+:[\w+=,.@-]+(/[\w+=,.@-]+)

│ with aws_acm_certificate_validation.main,
│ on route53.tf line 44, in resource "aws_acm_certificate_validation" "main":
│ 44: resource "aws_acm_certificate_validation" "main" {

Executing a terraform apply on the script using version 4.11.0 does not lead to an error.

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/acm Issues and PRs that pertain to the acm service. labels Apr 29, 2022
@SizZiKe
Copy link

SizZiKe commented Apr 29, 2022

experiencing the same

@cjol
Copy link

cjol commented Apr 29, 2022

Reverting to 4.11.0 has worked for me, so seems like a small range to bisect.

@ewbankkit ewbankkit added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 29, 2022
@ewbankkit
Copy link
Contributor

@christiangeiger-bayer Thanks for raising this issue.
It has already been noticed in #24452. I'm going to close this one as a duplicate so that we can concentrate discussion in the linked issue.
Please add any additional comments there.

@github-actions
Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/acm Issues and PRs that pertain to the acm service.
Projects
None yet
Development

No branches or pull requests

4 participants