Does anyone have a complete working example of cre...
# aws
h
Does anyone have a complete working example of creating a an aws registered domain, with waiting for its creation, then making a certificate request and again waiting for its creation and then finally creating the appropriate CNAME record in the hosted zone that’s a side effect of the registered domain?
l
You don't wait in your code. In fact, you can't wait in your code, since your code finishes before any resources are created. The various validation resources do the waiting for you. This one for certificates: https://www.pulumi.com/registry/packages/aws/api-docs/acm/certificatevalidation/
You don't need to wait for Route53 records at all. That's already done within the Route53 resources.