Skip to content
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

Need aws_security_key for Ansible #11

Open
BennyHarv3 opened this issue Jan 10, 2018 · 0 comments
Open

Need aws_security_key for Ansible #11

BennyHarv3 opened this issue Jan 10, 2018 · 0 comments

Comments

@BennyHarv3
Copy link

The credentials file that gets output by the extension has 3 different key/value pairs:

  • aws_access_key_id
  • aws_secret_access_key
  • aws_session_token

However, whenever the Ansbile EC2 module runs, it needs an additional value - aws_secret_key - or it will crash. My org has written a script to change the aws_session_token key to aws_secret_key (because they're the same value) to get this working for Ansible, but that inadvertently broken Terraform 🤦‍♂️

Since aws_session_token and aws_security_token are actually the same value, changing background/script.js:141 and background/script.js:177 to include aws_security_token = data.Credentials.SessionToken would fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant