pruneops_providers (Data Source)¶
The provider catalog: every provider_id a pruneops_cloud_account can use, its regions and credential fields.
Example Usage¶
data "pruneops_providers" "all" {}
# Credential fields of each provider, e.g. to build credentials_wo.
output "credential_fields" {
value = { for p in data.pruneops_providers.all.providers : p.provider_id => p.credential_fields }
}
Schema¶
Read-Only¶
providers(Attributes List) (see below for nested schema)
Nested Schema for providers¶
Read-Only:
credential_fields(List of String) Keys of credentials_wo.name(String) Display name.provider_id(String) Value for provider_id.regional(Boolean) Whether accounts pick regions.regions(List of String) Selectable regions.