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
Not specifying the environment attribute will default to the behavior on the Vault server.
Actual Behavior
Not specifying the environment attribute throws an error about "" not being a valid cloud provider.
Relevant Error/Panic Output Snippet
Error: unsupported Azure cloud name ""
with data.vault_azure_access_credentials.creds
on provider.tf line 57, in data "vault_azure_access_credentials""creds":
data "vault_azure_access_credentials""creds" {
Ideally this would be drawn from Vault Server, but the documented
default there is to point at Azure Public Cloud. This seems like a
decent compromise.
Signed-off-by: David Alexander <opensource@thelonelyghost.com>
TheLonelyGhost
added a commit
to TheLonelyGhost/terraform-provider-vault
that referenced
this issue
Mar 14, 2024
Ideally this would be drawn from Vault Server, but the documented
default there is to point at Azure Public Cloud. This seems like a
decent compromise.
Signed-off-by: David Alexander <opensource@thelonelyghost.com>
Fixes#2189: `environment` defaults to Azure Public Cloud
Ideally this would be drawn from Vault Server, but the documented
default there is to point at Azure Public Cloud. This seems like a
decent compromise.
Signed-off-by: David Alexander <opensource@thelonelyghost.com>
Terraform Core Version
1.5.3
Terraform Vault Provider Version
4.0.0
Vault Server Version
1.15.4
Affected Resource(s)
vault/data_source_azure_access_credentials.go
Expected Behavior
Not specifying the
environment
attribute will default to the behavior on the Vault server.Actual Behavior
Not specifying the
environment
attribute throws an error about "" not being a valid cloud provider.Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
With Azure secrets engine configured to serve credentials at the path configured in the sample TF configs, run
terraform init
andterraform plan
.Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: