You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to create a cloudfront distribution with a custom domain (CNAME). The issue is that these are cross-dependent since I also need a certificate. Is there any way to create all of these in the same stack?
In this example the record needs to be created after the distribution since it depends on the distribution's domain, but the distribution also depends on the record to be added associated to it. I could just use the string of the domain, but I need to include a certificate for it, which will also be created in this stack
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to create a cloudfront distribution with a custom domain (CNAME). The issue is that these are cross-dependent since I also need a certificate. Is there any way to create all of these in the same stack?
Example:
In this example the record needs to be created after the distribution since it depends on the distribution's domain, but the distribution also depends on the record to be added associated to it. I could just use the string of the domain, but I need to include a certificate for it, which will also be created in this stack
Beta Was this translation helpful? Give feedback.
All reactions