[aws-amplify] Creating an Amplify app fails to run build, manual intervention needed.
See original GitHub issueCreating an Amplify app fails to run build, manual intervention needed. Running it manually works.
Reproduction Steps
const amplifyApp = new amplify.App(this, 'XXX', {
sourceCodeProvider: new amplify.GitHubSourceCodeProvider({
owner: 'XXX',
repository: 'XXX',
oauthToken: cdk.SecretValue.plainText(process.env.PAT as string)
}),
});
const master = amplifyApp.addBranch('master');
amplifyApp.addCustomRule(amplify.CustomRule.SINGLE_PAGE_APPLICATION_REDIRECT);
const domain = amplifyApp.addDomain('XXX');
domain.mapRoot(master);
domain.mapSubDomain(master, 'www');
amplify.yml
is repo
What did you expect to happen?
Amplify app goes live.
What actually happened?
On the Amplify console I can see the first build never being triggered:
Environment
- **CLI Version :6.14.6
- Framework Version:
- **Node.js Version:v14.6.0
- **OS :Ubuntu
- **Language (Version):TS
Other
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Manual deploys - AWS Amplify Hosting
Manual deploys allows you to publish your web app with Amplify Hosting without connecting a Git provider. You can choose to drag and...
Read more >Configuring build settings - AWS Amplify Hosting
Build settings is visible in the Amplify console's App settings menu only when an app is set up for continuous deployment and connected...
Read more >Getting started with existing code - AWS Amplify Hosting
In this walkthrough, you learn how to continuously build, deploy, and host a modern web app. Modern web apps include single-page application (SPA) ......
Read more >Troubleshooting Amplify identity and access
With the release of Amplify Studio, deleting an app or a backend requires both amplify and amplifybackend permissions. If an administrator has written...
Read more >AWS Amplify vs Heroku - Which is the best?
The runtime keeps your apps running without any manual intervention. Threshold monitoring: Termed Heroku Operational Experience, the platform offers a series of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue, ended up resolving it using a AwsCustomResource and an SDK call to start-job. My answer on Stack Overflow is here https://stackoverflow.com/a/72146964/6056963. There is also some more context in that answer.
You solved by problem less than 1 hour later thank you.