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

Shell interpolation can not be used in packer stacks #88

Closed
disaac opened this issue Sep 14, 2019 · 0 comments
Closed

Shell interpolation can not be used in packer stacks #88

disaac opened this issue Sep 14, 2019 · 0 comments

Comments

@disaac
Copy link
Member

disaac commented Sep 14, 2019

Currently shell interpolation and execution for packer inputs does not function.

Should process inputs for packer similar to the way inputs are processed for terraform. This will allow things like generating AWS keys for use in the template to allow role assumption seamlessly since ~/.aws/config assume profiles are not supported in provisioners.

disaac added a commit that referenced this issue Sep 14, 2019
Issue #88

* Added to_command_hash_elements to allow processing packers inputs.
* Now interpolation of shell commands will function as expected in packer.
* Leveraged mainly for generating aws keys in template to allow seemless role assumption for provisioners and builders.
@disaac disaac closed this as completed Sep 14, 2019
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