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

Can't run ECS demo from cloud9 #64

Open
str3tch opened this issue Oct 16, 2024 · 1 comment
Open

Can't run ECS demo from cloud9 #64

str3tch opened this issue Oct 16, 2024 · 1 comment

Comments

@str3tch
Copy link

str3tch commented Oct 16, 2024

When I run the cd scripts/ecs/appsignals/ && ./setup-ecs-demo.sh --operation=delete --region=ap-southeast-1 command on cloud9 after building the images, it fails with sed: can't read s|"config-server-image"|"public.ecr.aws/g4e2v5k9/springcommunity/spring-petclinic-config-server"|: No such file or directory

+ echo 'LOAD_BALANCER_ARN="arn:aws:elasticloadbalancing:ap-southeast-1:267269458124:loadbalancer/app/ecs-pet-clinic-lb-ap-southeast-1/93377ba91a3d9b8d"'
+ echo 'LOAD_BALANCER_DNS="ecs-pet-clinic-lb-ap-southeast-1-512312278.ap-southeast-1.elb.amazonaws.com"'
+ echo 'ECR_IMAGE_PREFIX="public.ecr.aws/g4e2v5k9"'
+ echo 'ACCOUNT_ID="267269458124"'
+ echo 'adot_java_image="public.ecr.aws/aws-observability/adot-autoinstrumentation-java:v1.32.3"'
+ echo 'adot_python_image="public.ecr.aws/aws-observability/adot-autoinstrumentation-python:v0.5.0"'
+ echo 'master_password="tYpZtQs1fl"'
+ echo 'Variables written to ecs-pet-clinic-vars.txt'
Variables written to ecs-pet-clinic-vars.txt
+ echo 'Resource creation complete.'
Resource creation complete.
+ run_config_server
+ sed -i '' 's|"config-server-image"|"public.ecr.aws/g4e2v5k9/springcommunity/spring-petclinic-config-server"|' ./sample-app/task-definitions/spring-petclinic-config-server.json
sed: can't read s|"config-server-image"|"public.ecr.aws/g4e2v5k9/springcommunity/spring-petclinic-config-server"|: No such file or directory

Any clue as to what could be wrong here? thanks!

@pxaws
Copy link
Member

pxaws commented Oct 17, 2024

@zzhlogin Could you take a look? Seems like you introduce the setup-ecs-demo.sh script for ECS platform. Thank you!

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

No branches or pull requests

2 participants