You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring Vault provider I am not able to override vault configuration using environnement variables like VAULT_CACERT or VAULT_CAPATH using this configuration :
It prints out the following on a terraform plan when environnement variable VAULT_CACERT is set to /usr/local/etc/openssl/certs/internal-ca.pem
Error refreshing state: 1 error(s) occurred:
* failed to configure TLS for Vault API: Error loading CA File: open /etc/ssl/certs/internal-ca.pem: no such file or directory
Environnement variables should be able to override variables defined in vault provider or am I thinking wrong ?
Thanks
The text was updated successfully, but these errors were encountered:
It's unfortunately the other way around. The environment variables set the default values first when loading the schema, and the config can override them. I agree that this may not be the expected behavior, and I'll see if we have any precedence for this to make sure it's consistent throughout Terraform.
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.
ghost
locked and limited conversation to collaborators
Apr 9, 2020
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
When configuring Vault provider I am not able to override vault configuration using environnement variables like
VAULT_CACERT
orVAULT_CAPATH
using this configuration :It prints out the following on a
terraform plan
when environnement variableVAULT_CACERT
is set to/usr/local/etc/openssl/certs/internal-ca.pem
Environnement variables should be able to override variables defined in vault provider or am I thinking wrong ?
Thanks
The text was updated successfully, but these errors were encountered: