Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"rAmplifyAppBranchUpdate" cannot find Amplify application #1

Open
HaeyoonJo opened this issue Mar 10, 2023 · 3 comments
Open

"rAmplifyAppBranchUpdate" cannot find Amplify application #1

HaeyoonJo opened this issue Mar 10, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@HaeyoonJo
Copy link

HaeyoonJo commented Mar 10, 2023

I specified web_acl_arn, app_id and branch_name according to README and then had deployed "CustomAmplifyDistributionStack" using cdk deploy after all of steps.

See cdk.json I modified below

  "context": {
    "@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
    ...
    "web_acl_arn":"arn:aws:wafv2:us-east-1:00000000:global/webacl/xxxxxxxxxx/xxxxxxxxxx",
    "app_id":"d3xxxxxxxxxx",
    "branch_name":"main"
  }

During provisioning my stack, it has prompted error message that can't find the Amplify app.

[█████████████████████▍····································] (10/27)

3:28:30 PM | CREATE_FAILED        | Custom::AWS                         | rAmplifyAppBranchUpdate/Resource/Default
Received response status [FAILED] from custom resource. Message returned: App d3xxxxxxxxxx not found. (RequestId: d38ac0a9-a988-4fb3-9e65
-f84b04ea61ce)
[██████▍···················································] (3/27)

3:28:30 PM | CREATE_FAILED        | Custom::AWS                         | rAmplifyAppBranchUpdate/Resource/Default
Received response status [FAILED] from custom resource. Message returned: App d3xxxxxxxxxx not found. (RequestId: d38ac0a9-a988-4fb3-9e65-
f84b04ea61ce)
3:28:38 PM | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack          | CustomAmplifyDistributionStack
The following resource(s) failed to create: [rAmplifyAppBranchUpdate54EFE0C4, rCustomCloudFrontDistribution1C2C48D3]. Rollback requested by
user.

I've verified the branch_name and app_id whether it's correct. Im not sure this is related to rAmplifyAppBranchUpdate CDK name in the amplify_add_on_stack.py file as linked to

"rAmplifyAppBranchUpdate",
.

@awskaran awskaran self-assigned this Mar 24, 2023
@awskaran awskaran added the question Further information is requested label Mar 24, 2023
@awskaran
Copy link
Contributor

@HaeyoonJo can you confirm that the account and region in which you are attempting to deploy the cdk app is the same account and region in which the Amplify App is available ?

@axzelmarin
Copy link

Hey I'm having the same problem trying to deploy today, I can confirm that us-region-2 is where I host the amplify app

@HaeyoonJo
Copy link
Author

HaeyoonJo commented Jun 3, 2023

@awskaran yes, I confirmed the cdk app were in the same account and region where the Amplify app is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants