Certificates pending when trying to use parent and child route53 modules #532
-
|
Wondering if gruntworks has seen this before, or has some ideas around best practices. We use the terraform-aws-service-catalog/networking/route53 module to first create "parent route53 resources" and then we use terragrunt, with a dependency to create child route53 resources using those parents. Our pipelines apply the parent module fine. However when it goes to apply the child. it ALWAYS fails with below. We think we need some sort of wait or something inbetween these but haven't been able to pin point where it goes or "how long". I have tried a null resource to run after the parent is created, but that doesn't seem to do the trick. Also once it fails, if I apply again on the child route53 module it always passes |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Hi Lorelei, When I've encountered this issue in the past, it was always due to some subtle mis-configuration in my code or my actual Route 53 domains, nameservers and Route53 Public Hosted Zones. I'll link the official AWS doc on how DNS-based certificate validation works which is worth reading if you haven't already. In addition, here's a couple of the things that I've needed to ensure in the past to make sure programmatic DNS validation worked properly:
Hope this helps and gives you something more to dig into! |
Beta Was this translation helpful? Give feedback.
Hi Lorelei,
When I've encountered this issue in the past, it was always due to some subtle mis-configuration in my code or my actual Route 53 domains, nameservers and Route53 Public Hosted Zones.
I'll link the official AWS doc on how DNS-based certificate validation works which is worth reading if you haven't already.
In addition, here's a couple of the things that I've needed to ensure in the past to make sure programmatic DNS validation worked properly: