Bedrock Chat Stack - Failed to publish asset

0

Hello, I am trying to deploy the following project: https://github.com/aws-samples/bedrock-claude-chat

Following the instructions I've hit a wall with the deployment. I am getting the following error:

BedrockChatStack:  start: Building a7cef50a2502300977933c238dc017844954db7cd4c4815099f343531bd325d4:current_account-us-east-1
BedrockChatStack:  fail: No ECR repository named 'cdk-hnb659fds-container-assets-[ACCOUNT]-us-east-1' in account [ACCOUNT]. Is this account bootstrapped?
FrontendWafStack:  fail: No bucket named 'cdk-hnb659fds-assets-[ACCOUNT]-us-east-1'. Is account [ACCOUNT] bootstrapped?

 ❌ Deployment failed: Error: Failed to publish asset 450731d326cfd570cb0ea458612c0ee171eacff26f8730301ff22a98aaf61b01:current_account-us-east-1
    at Deployments.publishSingleAsset (/usr/local/share/nvm/versions/node/v20.16.0/lib/node_modules/aws-cdk/lib/index.js:455:11643)
    at async Object.publishAsset (/usr/local/share/nvm/versions/node/v20.16.0/lib/node_modules/aws-cdk/lib/index.js:455:198204)
    at async /usr/local/share/nvm/versions/node/v20.16.0/lib/node_modules/aws-cdk/lib/index.js:455:181805

Failed to publish asset 450731d326cfd570cb0ea458612c0ee171eacff26f8730301ff22a98aaf61b01:current_account-us-east-1

The deployment instructions are extremely simple but I am not able to figure this one out.

I've bootstrapped the deployment, and checked IAM permissions but I am unable to get this deployed.

Any help is appreciated.

1 Answer
1

Hello.

It looks like the ECR and S3 buckets created with "cdk bootstrap" are missing.
Have you executed the following commands according to the README instructions?

cdk bootstrap aws://<account id>/us-east-1

It is possible that the CloudFormation stack (CDKToolkit) created with "cdk bootstrap" was not created properly, so please check whether "CDKToolkit" has been created correctly from the CloudFormation console.
Please delete "CDKToolkit" and try again from "cdk bootstrap".

profile picture
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile pictureAWS
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions