-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_ssm does not seem to work on pulling secret value #322
Comments
Files identified in the description:
If these files are inaccurate, please update the |
Hi @isuftin |
For secrets stored in Secret Manager you're probably after the aws_secret lookup plugin: https://docs.ansible.com/ansible/latest/collections/amazon/aws/aws_secret_lookup.html |
I'll give https://docs.ansible.com/ansible/latest/collections/amazon/aws/aws_secret_lookup.html a shot now and report back |
* add metadata options to ec2 template
* add metadata options to ec2 template
* add metadata options to ec2 template
* add metadata options to ec2 template This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@94af64c
SUMMARY
When attempting to use aws_ssm to retrieve a secret, the response is always blank. However, when using boto3 with the same secret, it seems to be working
ISSUE TYPE
COMPONENT NAME
aws_ssm lookup
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
CentOS 7 in AWS us-west-2 region
STEPS TO REPRODUCE
EXPECTED RESULTS
msg: the secret
ACTUAL RESULTS
However, this seems to work fine on the same machine...
The text was updated successfully, but these errors were encountered: