1 Answer
- Newest
- Most votes
- Most comments
0
What type of principal was used to create the zone(s)? Depending on whether you used the root account credentials or an IAM user/role, the behavior/ownership is slightly different. Have you created the appropriate roles in each account to be used for resource creation? The documentation on resource permissions and using IAM roles is a good place to start.
Route53 only supports identity-based IAM policies, so you'll need to create the appropriate permissions policy and attach it to the principal(s) you're using. There's an example there specifically for delegating CreateHostedZone that is likely a good start.
answered 3 years ago
Relevant content
- asked 7 years ago
- asked 2 years ago
- How do I associate a Route 53 health check from an account with a record set in a different account?AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
I found a solution. The delegated zone creation was already working, so I just created a dedicated hosted zone for the
app.domain.com
. This has the added benefit of allowing amplify to create certificates. Hosted zones aren't free, but given that this is only a single subdomain, the costs are insignificant.