Skip to content

Commit 620ce4f

Browse files
committed
Updating image name
1 parent 99deb8d commit 620ce4f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

walkthroughs/howto-tls-file-provided/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export MESH_NAME="ColorApp-TLS"
2525
export ENVOY_IMAGE=<get the latest from https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html>
2626
export SERVICES_DOMAIN="default.svc.cluster.local"
2727
export FRONTEND_IMAGE_NAME="frontend"
28-
export BACKEND_IMAGE_NAME="colorteller"
28+
export COLOR_TELLER_IMAGE_NAME="colorteller"
2929
export 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
292292
aws cloudformation delete-stack --stack-name $ENVIRONMENT_NAME-ecs-service
293293
aws 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
295295
aws ecr delete-repository --force --repository-name $FRONTEND_IMAGE_NAME
296296
aws ecr delete-repository --force --repository-name $COLOR_APP_ENVOY_IMAGE_NAME
297297
aws cloudformation delete-stack --stack-name $ENVIRONMENT_NAME-ecr-repositories

walkthroughs/howto-tls-file-provided/infrastructure/ecr-repositories.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}"

walkthroughs/howto-tls-file-provided/infrastructure/ecs-service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

walkthroughs/howto-tls-file-provided/src/colorteller/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ if [ -z $AWS_DEFAULT_REGION ]; then
1313
exit 1
1414
fi
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
1919
fi
2020

2121
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
2222
AWS_CLI_VERSION=$(aws --version 2>&1 | cut -d/ -f2 | cut -d. -f1)
2323

2424
ECR_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

2727
ecr_login() {
2828
if [ $AWS_CLI_VERSION -gt 1 ]; then

0 commit comments

Comments
 (0)