aws_acm_certificate conflict with same domain_name in the same region #7760
Labels
bug
Addresses a defect in current functionality.
service/acm
Issues and PRs that pertain to the acm service.
Milestone
When creating two
aws_acm_certificate
resources with the samedomain_name
(and optionally samesubject_alternative_names
) only one resource is created in AWS while both resources point to the sameid
. If I create both certificate manually in the console it works as expected.One workaround is to add a dummy value in
subject_alternative_names
to differentiate both resources.My use case is to have two times the same certificate:
The bug happens when the current region is
us-east-1
.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
I should see 3 certificates in my AWS console.
Actual Behavior
I see only 2 certificates in my AWS console (one for
example.com
& one forother.com
).Steps to Reproduce
terraform apply
terraform state pull
In the output we can see that
aws_acm_certificate.cert1
&aws_acm_certificate.cert2
have the sameid
.Community Note
The text was updated successfully, but these errors were encountered: