Skip to content

[aws-amplify] Creating an Amplify app fails to run build, manual intervention needed. #9479

Open
@thisismydesign

Description

@thisismydesign

Creating 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:

image

Environment

  • **CLI Version :6.14.6
  • Framework Version:
  • **Node.js Version:v14.6.0
  • **OS :Ubuntu
  • **Language (Version):TS

Other


This is 🐛 Bug Report

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-amplifyRelated to AWS AmplifybugThis issue is a bug.effort/mediumMedium work item – several days of effortp3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions