website icon indicating copy to clipboard operation
website copied to clipboard

Serverless components website : Deploy failed with delegated domain

Open tux86 opened this issue 5 years ago • 1 comments
trafficstars

Hi, I have two AWS accounts a master account for production and a sub account for Development. In production the deployment works fine, but when I try to deploy in the development account it fails with the following error:

Serverless › [RRSet with DNS name _3638471d4d0b2191ad3718504521cbe6.mydomain.com. is not permitted in zone dev.mydomain.com.]

Screenshot_20201013_235639

In my main account (prod): the domain is like that : backoffice.mydomain.com (works fine) <---- subdomain of "mydomain.com" in my sub account (dev): it's like that : backoffice.dev.mydomain.com (failed) <---- subdomain of "dev.mydomain.com"

For more detail, In my sub account I have only one hosted zone "dev.mydomain.com" , I have delegated this domain to sub account from the master account.

serverless.yml Screenshot_20201013_235557

tux86 avatar Oct 13 '20 21:10 tux86

@tux86 Did you solve this?

maxpaj avatar Nov 26 '20 10:11 maxpaj