File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
walkthroughs/howto-tls-file-provided Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export MESH_NAME="ColorApp-TLS"
2525export ENVOY_IMAGE=< get the latest from https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html>
2626export SERVICES_DOMAIN=" default.svc.cluster.local"
2727export FRONTEND_IMAGE_NAME=" frontend"
28- export BACKEND_IMAGE_NAME =" colorteller"
28+ export COLOR_TELLER_IMAGE_NAME =" colorteller"
2929export COLOR_APP_ENVOY_IMAGE_NAME=" colorapp-envoy"
3030```
3131
@@ -291,7 +291,7 @@ Run the following commands to clean up and tear down the resources that we’ve
291291` ` ` bash
292292aws cloudformation delete-stack --stack-name $ENVIRONMENT_NAME-ecs-service
293293aws cloudformation delete-stack --stack-name $ENVIRONMENT_NAME-ecs-cluster
294- aws ecr delete-repository --force --repository-name $BACKEND_IMAGE_NAME
294+ aws ecr delete-repository --force --repository-name $COLOR_TELLER_IMAGE_NAME
295295aws ecr delete-repository --force --repository-name $FRONTEND_IMAGE_NAME
296296aws ecr delete-repository --force --repository-name $COLOR_APP_ENVOY_IMAGE_NAME
297297aws cloudformation delete-stack --stack-name $ENVIRONMENT_NAME-ecr-repositories
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ aws --profile "${AWS_PROFILE}" --region "${AWS_DEFAULT_REGION}" \
1111 --template-file " ${DIR} /ecr-repositories.yaml" \
1212 --parameter-overrides \
1313 FrontendImageName=" ${FRONTEND_IMAGE_NAME} " \
14- ColorTellerImageName=" ${BACKEND_IMAGE_NAME } " \
14+ ColorTellerImageName=" ${COLOR_TELLER_IMAGE_NAME } " \
1515 ColorAppEnvoyImageName=" ${COLOR_APP_ENVOY_IMAGE_NAME} "
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ aws --profile "${AWS_PROFILE}" --region "${AWS_DEFAULT_REGION}" \
1515 AppMeshMeshName=" ${MESH_NAME} " \
1616 EnvoyImage=" ${ENVOY_IMAGE} " \
1717 FrontendImageName=" ${FRONTEND_IMAGE_NAME} " \
18- ColorTellerImageName=" ${BACKEND_IMAGE_NAME } " \
18+ ColorTellerImageName=" ${COLOR_TELLER_IMAGE_NAME } " \
1919 ColorAppEnvoyImageName=" ${COLOR_APP_ENVOY_IMAGE_NAME} "
2020
Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ if [ -z $AWS_DEFAULT_REGION ]; then
1313 exit 1
1414fi
1515
16- if [ -z $BACKEND_IMAGE_NAME ]; then
17- echo " BACKEND_IMAGE_NAME environment variable is not set"
16+ if [ -z $COLOR_TELLER_IMAGE_NAME ]; then
17+ echo " COLOR_TELLER_IMAGE_NAME environment variable is not set"
1818 exit 1
1919fi
2020
2121DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd ) "
2222AWS_CLI_VERSION=$( aws --version 2>&1 | cut -d/ -f2 | cut -d. -f1)
2323
2424ECR_URL=" ${AWS_ACCOUNT_ID} .dkr.ecr.${AWS_DEFAULT_REGION} .amazonaws.com"
25- IMAGE=" ${ECR_URL} /${BACKEND_IMAGE_NAME } :latest"
25+ IMAGE=" ${ECR_URL} /${COLOR_TELLER_IMAGE_NAME } :latest"
2626
2727ecr_login () {
2828 if [ $AWS_CLI_VERSION -gt 1 ]; then
You can’t perform that action at this time.
0 commit comments