Erik Robertson
12/08/2021, 9:39 AMIt seems you are configuring custom domains for you URL. And SST is not able to find the hosted zone "<http://dataworks.us|dataworks.us>" in your AWS Route 53 account. Please double check and make sure the zone exists, or pass in a different zone.
Which makes sense since that account doesn't host the domain. I therefore created a role on the dev account providing access to Route53 to the staging/production account and assigned that role to the user I use for deployment on staging. However that doesn't make a difference and I'm still getting that error.... Any ideas ?
I would like to use dev-api.domain.name for my dev deployment (works fine) and stg-api.domain.name for staging and api.domain.name for prod.Erik Robertson
12/08/2021, 9:42 AMChad (cysense)
12/08/2021, 12:03 PMErik Robertson
12/08/2021, 12:08 PMthdxr
12/08/2021, 3:49 PMthdxr
12/08/2021, 3:50 PMthdxr
12/08/2021, 3:51 PM<account>.<http://mydomain.com|mydomain.com>
and then manually maintain dns records for public facing routes pointing at themCarlos Daniel
12/08/2021, 3:58 PM<environment-name>.<http://api.domain.com|api.domain.com>
, and for that, I just:
• create an NS on my dev account pointing to the production account that owns the Route53 domain;
• when creating the ACM for that domain on the dev account, I specify the certificate should cover `*.api.domain.com`;
This way, my app should be able to create the domains like <http://local.api.domain.com|local.api.domain.com>
, <http://live.api.domain.com|live.api.domain.com>
, and so goes on :)thdxr
12/08/2021, 4:02 PMErik Robertson
12/09/2021, 1:28 PMCarlos Daniel
12/09/2021, 2:00 PM