Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Same issue as in Cookbook 248: #72
  • Loading branch information
gwenblum authored Dec 18, 2023
1 parent e40594a commit 3de30a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 341-metrics-with-apm-daemonset-pod-agent-on-eks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ It is not required for CMX metric. Any APM instrumentation configuration file (e
3. In the snippet below, replace the token **{{ecr_region}}** and **{{aws_account_id}}** with your own values. Execute the snippet to build the image locally, and then push it to the ECR container registry. The build is based on a [Dockerfile](Dockerfile).

```shell
ecr_region = "{{ecr_region}}" # replace {{ecr_region}}, for example: eu-west-3
aws_account_id = "{{aws_account_id}}" # replace {{aws_account_id}}, for example: 1234-5678-90
ecr_region="{{ecr_region}}" # replace {{ecr_region}}, for example: eu-west-3
aws_account_id="{{aws_account_id}}" # replace {{aws_account_id}}, for example: 1234-5678-90

# 1. Connect docker to the ECR repository
aws ecr get-login-password --region $ecr_region | docker login --username AWS --password-stdin $aws_account_id.dkr.ecr.$ecr_region.amazonaws.com
Expand Down Expand Up @@ -108,8 +108,8 @@ Same as in Step 3, replace the token **{{ecr_region}}** and **{{aws_account_id}}
The build is based on this [Dockerfile](app/Dockerfile).

```shell
ecr_region = "{{ecr_region}}" # replace {{ecr_region}}, for example: eu-west-3
aws_account_id = "{{aws_account_id}}" # replace {{aws_account_id}}, for example: 1234-5678-90
ecr_region="{{ecr_region}}" # replace {{ecr_region}}, for example: eu-west-3
aws_account_id="{{aws_account_id}}" # replace {{aws_account_id}}, for example: 1234-5678-90

# 1. Connect docker to the ECR repository
aws ecr get-login-password --region $ecr_region | docker login --username AWS --password-stdin $aws_account_id.dkr.ecr.$ecr_region.amazonaws.com
Expand Down

0 comments on commit 3de30a2

Please sign in to comment.