[Bug]: add_address_to_env
does not affect local-exec
provisioners
#2274
Labels
add_address_to_env
does not affect local-exec
provisioners
#2274
Terraform Core Version
1.8.5
Terraform Vault Provider Version
4.2.0
Vault Server Version
1.10.0
Affected Resource(s)
No response
Expected Behavior
When setting
add_address_to_env = true
, I expectedVAULT_ADDR
to be set to the provider's address when running the Vault CLI vialocal-exec
provisioners.Actual Behavior
If I run
VAULT_ADDR=https://... terraform apply
, Vault CLI executed bylocal-exec
sees the address on the command line rather than the config.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Run
VAULT_ADDR=bad terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: