ansible-role-lets-encrypt-route-53 icon indicating copy to clipboard operation
ansible-role-lets-encrypt-route-53 copied to clipboard

provide aws_profile variable in route53 tasks

Open ctipper opened this issue 2 years ago • 0 comments

I am looking at PR: Allow AWS SDK to determine the AWS credentials #48 and can't understand how to use a non default AWS profile. Setting env AWS_PROFILE (per boto3 credentials) triggers an error I can only assume this variable is ignored on my system. The only way I can see is to use an aws_profile property on the two route53 tasks in main.yml.

So my feeling is that PR#48 is incomplete and a new variable, possibly ler53_aws_profile needs to be supplied to the user and the property added to the two route53 tasks. I assume this must be optional.

Possibly

aws_profile: "{{ ler53_aws_profile | default(omit) }}"

Please show some understanding I am uncertain whether this is relevant.

ctipper avatar Feb 28 '23 13:02 ctipper