-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provisioner/local-exec: Allow passing env vars to commands #13880
Conversation
@@ -38,3 +52,6 @@ The following arguments are supported: | |||
as a relative path to the current working directory or as an absolute path. | |||
It is evaluated in a shell, and can use environment variables or Terraform | |||
variables. | |||
|
|||
* `environment` - (Optional) Block of key value pairs reperesing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: s/reperesing/representing/
Any update on this? |
bump |
Please approve this. This is especially needed when running ansible playbooks you have to specify the path to the roles and you need ansible_roles_path variable set. |
Hi all! Sorry for the long silence here. This got lost in the backlog, it seems. Unfortunately this changeset came into conflict with another that added the |
7cc0ee5
to
384abc4
Compare
@apparentlymart It's good to go now - just changed the test case a little bit (to match the upstream approach) |
384abc4
to
7d0fba1
Compare
Hi @apparentlymart , I've resolved the conflicts again, this time for the Could you please review and/or merge/close this PR? It's almost one year old 🎂 |
Thanks for updating it again, @cnicolov, and sorry for repeatedly losing this off my radar. 😖 |
I have the same problem here now. I want to set environment variables and use them in powershell script. Is the feature merged to use now? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Fixes #13860