aws-amplify / aws-amplify/amplify-hosting

Custom Domain - The role with name AWSAmplifyDomainRole-Z073737928BZTN2WA6J6L cannot be found.

Open
#4,067 15 comments 12 reactions 0 assignees View on GitHub
hosting
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

### Environment information

```plain text
System:
OS: macOS 15.3.2
CPU: (14) arm64 Apple M3 Max
Memory: 160.31 MB / 36.00 GB
Shell: /bin/zsh
Binaries:
Node: 18.20.7 - ~/.nvm/versions/node/v18.20.7/bin/node
Yarn: undefined - undefined
npm: 10.8.2 - ~/.nvm/versions/node/v18.20.7/bin/npm
pnpm: undefined - undefined
NPM Packages:
@aws-amplify/auth-construct: 1.6.1
@aws-amplify/backend: 1.14.3
@aws-amplify/backend-ai: Not Found
@aws-amplify/backend-auth: 1.5.1
@aws-amplify/backend-cli: 1.5.0
@aws-amplify/backend-data: 1.4.1
@aws-amplify/backend-deployer: 1.1.20
@aws-amplify/backend-function: 1.12.3
@aws-amplify/backend-output-schemas: 1.4.1
@aws-amplify/backend-output-storage: 1.1.5
@aws-amplify/backend-secret: 1.2.0
@aws-amplify/backend-storage: 1.2.6
@aws-amplify/cli-core: 1.4.1
@aws-amplify/client-config: 1.5.8
@aws-amplify/data-construct: 1.15.1
@aws-amplify/data-schema: 1.19.0
@aws-amplify/deployed-backend-client: 1.5.2
@aws-amplify/form-generator: 1.0.5
@aws-amplify/model-generator: 1.0.13
@aws-amplify/platform-core: 1.6.5
@aws-amplify/plugin-types: 1.8.1
@aws-amplify/sandbox: 1.2.12
@aws-amplify/schema-generator: 1.2.8
aws-amplify: 6.13.5
aws-cdk: 2.1003.0
aws-cdk-lib: 2.180.0
typescript: 5.8.2
AWS environment variables:
AWS_DEFAULT_REGION = us-west-2
No CDK environment variables
```

### Describe the bug

I had a custom domain name setup, but then it stopped working. When I went in to edit it, I would get an error in the AWS Amplify domain management.
```
The role with name AWSAmplifyDomainRole-Z073737928BZTN2WA6J6L cannot be found.
```
I have tried the custom domain, and recreating it multiple times, but always get stuck in SSL Configuration.

Image

### Reproduction steps

1. Create a new AWS Amplify App
2. Fork or link to https://github.com/jbejar/southjordancanal/
3. Link to a custom domain
4. Notice how it takes a long time

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating an AWS Amplify app, linking the supplied repository, and attaching a custom domain. Confirm whether domain management fails because the AWSAmplifyDomainRole is missing and whether SSL configuration completes; the issue provides no repository file or test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.