WorkloadIdentityPoolMode enum

Operating mode for a workload identity pool.

Immutable after creation — changing this on an existing pool will be accepted at terraform plan time but rejected by the API at apply time with Error 400: Attempted to update an immutable field..

  • federationOnly (default): pool federates external identities into GCP via OIDC / SAML / AWS. No identity-format constraints; no namespace / provider resources beyond the pool itself.
  • trustDomain: pool issues identities to GCP workloads. Subjects must follow ns/<namespace>/sa/<workload> format. Providers cannot be created inside a trust-domain pool.
  • systemTrustDomain: pool managed entirely by Google Cloud services (GKE, Compute Engine managed identity). Users cannot create providers or namespaces inside it.
Inheritance
Available extensions

Values

federationOnly → const WorkloadIdentityPoolMode
const WorkloadIdentityPoolMode('FEDERATION_ONLY')
trustDomain → const WorkloadIdentityPoolMode
const WorkloadIdentityPoolMode('TRUST_DOMAIN')
systemTrustDomain → const WorkloadIdentityPoolMode
const WorkloadIdentityPoolMode('SYSTEM_TRUST_DOMAIN')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terraformValue String
The Terraform-side string literal this enum value encodes to. Convention: emitted exactly as it appears in provider docs (typically SCREAMING_SNAKE_CASE for GCP).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<WorkloadIdentityPoolMode>
A constant List of the values in this enum, in order of their declaration.