serverless-components / website

:zap: Instantly deploy static website on serverless infrastructure with zero configuration using Serverless Components.
https://serverless.com
Apache License 2.0
157 stars 49 forks source link

Serverless components website : Deploy failed with delegated domain #67

Open tux86 opened 4 years ago

tux86 commented 4 years ago

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

maxpaj commented 3 years ago

@tux86 Did you solve this?