Hello, and thank you for your work on copilot!
I've ben experimenting with running some workloads via copilot, and have run into an issue that I seem stuck on...
For a load balanced web service, I attempted to add another http.alias value. The deploy failed as there was already a dns record for that subdomain created previously. I attempted two things:
- changing the existing route53 record to a different subdomain
- deleting the existing route53 record
Neither of those worked, and the only way to get it to redeploy succesfully was removing the new alias.
What I noticed, is that some components of the parent env stack are now stuck at UPDATE_FAILED:

I tried to use the "continue update rollback" feature in cloudformation, which seemed to resolve for the HTTPSCert, but the CustomDomainAction is still continually failing (even though the env seems to be all deployed and in a healthy state).
I see that the custom domain action is failing because it is trying to delete the dns record that it failed to create in the first place, but it doesn't exist. Received response status [FAILED] from custom resource. Message returned: [Tried to delete resource record set [name='subdomain.example.com.', type='A'] but it was not found]
Is there some way around this? Also, is there any particular procedure I should follow for adding an alias where there might be a recently deleted route53 record? Perhaps I need to delete some other dns related resources for that subdomain, wait for the dns ttl, etc.?
Hello, and thank you for your work on copilot!
I've ben experimenting with running some workloads via copilot, and have run into an issue that I seem stuck on...
For a load balanced web service, I attempted to add another http.alias value. The deploy failed as there was already a dns record for that subdomain created previously. I attempted two things:
Neither of those worked, and the only way to get it to redeploy succesfully was removing the new alias.
What I noticed, is that some components of the parent env stack are now stuck at UPDATE_FAILED:
I tried to use the "continue update rollback" feature in cloudformation, which seemed to resolve for the HTTPSCert, but the CustomDomainAction is still continually failing (even though the env seems to be all deployed and in a healthy state).
I see that the custom domain action is failing because it is trying to delete the dns record that it failed to create in the first place, but it doesn't exist.
Received response status [FAILED] from custom resource. Message returned: [Tried to delete resource record set [name='subdomain.example.com.', type='A'] but it was not found]Is there some way around this? Also, is there any particular procedure I should follow for adding an alias where there might be a recently deleted route53 record? Perhaps I need to delete some other dns related resources for that subdomain, wait for the dns ttl, etc.?