all shells: Pass env vars through a key value store#11569
Conversation
| ] | ||
| } | ||
| provisioner "shell-local" { | ||
| only_on = ["windows"] |
There was a problem hiding this comment.
that's a neat feature for tests
nywilken
left a comment
There was a problem hiding this comment.
This looks good to me. I do wonder if we should deprecate the environment_vars field.
…902d6d1bd7d907d2 + tidy
|
Good question, I would think not here, since for the people using On another side: these work with datasources, so it's way better 🤔 . |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
This potentially fixes #11197, by allowing to set shell env vars from a key/value map.
Merge hashicorp/packer-plugin-sdk#98 first.
key/valuestore possibility