agent-squad icon indicating copy to clipboard operation
agent-squad copied to clipboard

Bug: Error while deploying the chatdemo app

Open sreedharguda opened this issue 1 year ago • 3 comments

Expected Behaviour

Hi Team,

I am trying to deploy the chat-demo-app from my windows laptop, when i am running the below command it shows the below, please help me how to deploy the application.

09:32:57 ▶ src/pages/index.astro 09:32:57 └─ /index.html (+30ms) 09:32:57 ✓ Completed in 2.21s.

09:32:57 [build] 1 page(s) built in 18.86s 09:32:57 [build] Complete! Since this app includes more than a single stack, specify which stacks to use (wildcards are supported) or specify --all Stacks: ChatDemoStack · UserInterfaceStack

Please help me how to run cdk deploy from windows laptop to make the deployment successful for testing the chat demo app.

Current Behaviour

09:32:57 ▶ src/pages/index.astro 09:32:57 └─ /index.html (+30ms) 09:32:57 ✓ Completed in 2.21s.

09:32:57 [build] 1 page(s) built in 18.86s 09:32:57 [build] Complete! Since this app includes more than a single stack, specify which stacks to use (wildcards are supported) or specify --all Stacks: ChatDemoStack · UserInterfaceStack

Code snippet

used the main branch 

https://github.com/awslabs/multi-agent-orchestrator

Possible Solution

No response

Steps to Reproduce

followed the steps from this article on my windows laptop at the step 6 am getting the above issue.

https://awslabs.github.io/multi-agent-orchestrator/cookbook/examples/chat-demo-app/#-deployment-steps

sreedharguda avatar Dec 23 '24 04:12 sreedharguda

Hi @sreedharguda , Thanks for using the multi-agent-orchestrator. We have updated our docs. When deploying cdk, you need to append --all.

cdk deploy --all

Updated link to the doc is here: https://awslabs.github.io/multi-agent-orchestrator/cookbook/examples/chat-demo-app/#-deployment-steps

brnaba-aws avatar Dec 23 '24 08:12 brnaba-aws

Hi @sreedharguda , Thanks for using the multi-agent-orchestrator. We have updated our docs. When deploying cdk, you need to append --all.

cdk deploy --all

Updated link to the doc is here: https://awslabs.github.io/multi-agent-orchestrator/cookbook/examples/chat-demo-app/#-deployment-steps

Hi @brnaba-aws Thank you for the update, the issue got fixed and am able to deploy the solution. When i am trying to run the cdk destroy command for cleanup, its not moving further from this stage. Please help me what command have to use here to call the AWS CFT scripts to cleanup the created resources as part of the solution. Thank you.

cdk destroy [WARNING] aws-cdk-lib.aws_cloudfront_origins.S3Origin is deprecated. Use S3BucketOrigin or S3StaticWebsiteOrigin instead. This API will be removed in the next major release. [WARNING] aws-cdk-lib.aws_cloudfront_origins.S3Origin#bind is deprecated. Use S3BucketOrigin or S3StaticWebsiteOrigin instead. This API will be removed in the next major release.

sreedharguda avatar Dec 23 '24 15:12 sreedharguda

@sreedharguda can we close this?

cornelcroi avatar Jan 18 '25 16:01 cornelcroi