Lists StackGen governance configurations for an owner (defaults to the current tenant).
data "sg_governances" "all" {}
output "governance_names" {
value = [for g in data.sg_governances.all.governances : g.name]
}
owner_id (String) Owner UUID to list under. Defaults to the all-zero UUID for Tenant.owner_type (String) Owner type to list under. Defaults to Tenant.governances (Attributes List) Governance configurations returned by the API. (see below for nested schema)governancesRead-Only:
description (String) Governance configuration description.id (String) Governance configuration UUID.name (String) Governance configuration name.owner_id (String) Owner UUID of the governance configuration.owner_type (String) Owner type of the governance configuration.version (Number) Integer version number of the latest governance version.version_id (String) UUID of the latest governance version.