Skip to content

Commit 45f810f

Browse files
committed
Replace pseudo environment variables with obvious replaceables in examples
1 parent f7e1d81 commit 45f810f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

content/actions/guides/deploying-to-amazon-elastic-container-service.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you
2626

2727
{% raw %}```bash{:copy}
2828
aws ecr create-repository \
29-
--repository-name $ECR_REPOSITORY \
30-
--region $AWS_REGION
29+
--repository-name MY_ECR_REPOSITORY \
30+
--region MY_AWS_REGION
3131
```{% endraw %}
3232
3333
Ensure that you use the same Amazon ECR repository name for the `ECR_REPOSITORY` variable in the workflow below.
@@ -75,13 +75,13 @@ on:
7575
types: [ created ]
7676
7777
env:
78-
AWS_REGION: your-preferred-aws-region # set this to your preferred AWS region, e.g. us-west-1
79-
ECR_REPOSITORY: your-ecr-repository # set this to your Amazon ECR repository name
80-
ECS_SERVICE: your-ecs-service # set this to your Amazon ECS service name
81-
ECS_CLUSTER: your-ecs-cluster # set this to your Amazon ECS cluster name
82-
ECS_TASK_DEFINITION: your-ecs-task-defintion # set this to the path to your Amazon ECS task definition
78+
AWS_REGION: MY_AWS_REGION # set this to your preferred AWS region, e.g. us-west-1
79+
ECR_REPOSITORY: MY_ECR_REPOSITORY # set this to your Amazon ECR repository name
80+
ECS_SERVICE: MY-ECS-SERVICE # set this to your Amazon ECS service name
81+
ECS_CLUSTER: MY-ECS-CLUSTER # set this to your Amazon ECS cluster name
82+
ECS_TASK_DEFINITION: MY-ECS-TASK-DEFINITION # set this to the path to your Amazon ECS task definition
8383
# file, e.g. .aws/task-definition.json
84-
CONTAINER_NAME: your-container-name # set this to the name of the container in the
84+
CONTAINER_NAME: MY-CONTAINER-NAME # set this to the name of the container in the
8585
# containerDefinitions section of your task definition
8686
8787
defaults:

0 commit comments

Comments
 (0)