grafana/grafana-docker

Restarting container with AWS environment variables appends to existing credentials file

Closed this issue · 1 comments

Specifying GF_AWS_* appends to /usr/share/grafana/.aws/credentials on every restart e.g.:

[default]
aws_access_key_id = key_here
aws_secret_access_key = secret_here
region = ap-northeast-1
[default]
aws_access_key_id = key_here
aws_secret_access_key = secret_here
region = ap-northeast-1
[default]
aws_access_key_id = key_here
aws_secret_access_key = secret_here
region = ap-northeast-1
xlson commented

Thanks for reporting. Will look into fixing it.