Conflicting DNS domain for codeartifact #17269
Labels
question
A question about existing functionality; most questions are re-routed to discuss.hashicorp.com.
service/ec2
Issues and PRs that pertain to the ec2 service.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.5
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
Both VPC endpoints should have been created without problems.
Actual Behavior
The issue is, that both VPC endpoints have overlapping DNS entries. The EC2/VPC service checks at time of creation (
private_dns_enabled = true
) for such overlap, and errors out with above 400 message. If the second VPC endpoint is created withprivate_dns_enabled = false
, and then changed toprivate_dns_enabled = true
, AWS does not validate the DNS entries and successfully creates both VPC endpoints.AWS acknowledges the problem on their VPC endpoints for CodeArtifact page (see quote & link below). After speaking with support, we came up with the multi-step work around.
Is this something the terraform provider could implement and automatically execute?
Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: