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" {
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