Skip to content

Commit

Permalink
Merge pull request #780 from vasireddy99/changepath
Browse files Browse the repository at this point in the history
Change path for aws creds to non root user
  • Loading branch information
vasireddy99 authored Nov 7, 2023
2 parents a940b28 + cbbae1f commit b066d96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion centralized-sampling-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ example-collector-config file. Clone the ADOT Collector repo and start the Colle
docker run --rm -p 2000:2000 -p 55680:55680 -p 8889:8888 \
-e AWS_REGION=us-west-2 \
-e AWS_PROFILE=default \
-v ~/.aws:/root/.aws \
-v ~/.aws:/home/aoc/.aws \
-v "${PWD}/examples/docker/config-test.yaml":/otel-local-config.yaml \
--name awscollector public.ecr.aws/aws-observability/aws-otel-collector:latest \
--config otel-local-config.yaml;
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/dotnet-sample-app/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
image: amazon/aws-otel-collector:latest
command: --config /config/collector-config-local.yml
volumes:
- ~/.aws:/root/.aws:ro
- ~/.aws:/home/aoc/.aws:ro
- .:/config
environment:
- AWS_REGION=us-west-2
Expand Down

0 comments on commit b066d96

Please sign in to comment.