Skip to content

Can't run ECS demo from cloud9 #64

@str3tch

Description

@str3tch

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions