hashicorp / terraform-provider-vault

Terraform Vault provider
https://www.terraform.io/docs/providers/vault/
Mozilla Public License 2.0
451 stars 535 forks source link

[Enhancement]: data source for getting Vault server address #2280

Open mxk opened 2 weeks ago

mxk commented 2 weeks ago

Description

There is a vault_namespace data source for getting the current namespace, but there does not appear to be any way of getting the current server address. We're having to pass that around using variables, which is error-prone. It would be nice if there was either another data source that exposed the address parameter of the provider config, or if vault_namespace was extended to also report the address.

Affected Resource(s) and/or Data Source(s)

No response

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

None