bedrock-claude-chat icon indicating copy to clipboard operation
bedrock-claude-chat copied to clipboard

[Feature Request]In "Deploy using CDK", emphasize that stack "FrontendWafStack" is _always_ in us-east-1

Open typex1 opened this issue 1 year ago • 3 comments

Describe the solution you'd like

It took me a while to find out why I constantly got CDK error messages for "FrontendWafStack", and this is the reason:

  • I ran "cdk bootstrap" in my target region (eu-central-1)
  • I adjusted cdk.json accordingly, as mentioned in the documentation
  • But what I did not do is, to also run "cdk bootstrap" in us-east-1, because in this case, this is a multi-region deployment.
  • The resulting error messages for me were misleading, because CDK complains "Deployment failed: Error: FrontendWafStack: SSM parameter /cdk-bootstrap/hnb659fds/version not found. Has the environment been bootstrapped? "

Maybe for other folks this is obvious, but just wanted to let you know for me it was not.

typex1 avatar Aug 29 '24 13:08 typex1

As you mentioned, this sample requires us-east-1 bootstrapped, not only the target region. We'd be appreciated if you could modify the document and create PR. thank you.

statefb avatar Aug 30 '24 00:08 statefb

I am happy to do that. Could you explain why the WAF stack needs to be in us-east-1 at all?

typex1 avatar Sep 05 '24 07:09 typex1

Could you explain why the WAF stack needs to be in us-east-1 at all?

Please refer: https://github.com/aws-samples/bedrock-claude-chat/blob/v1/cdk/bin/bedrock-chat.ts#L56-L58

statefb avatar Sep 05 '24 11:09 statefb

This issue has been labeled as "stale" due to no response by the reporter within 1 month (and 14 days after last commented by someone). And it will be closed automatically 14 days later if not responded.

github-actions[bot] avatar Oct 06 '24 01:10 github-actions[bot]

This issue has been closed due to no response within 14 days after labeled as "stale", 14 days after last reopened, and 14 days after last commented.

github-actions[bot] avatar Oct 21 '24 01:10 github-actions[bot]