We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
oidc_issuer_enabled
true
1 parent 1fca004 commit f482eabCopy full SHA for f482eab
1 file changed
main.tf
@@ -451,6 +451,10 @@ resource "azurerm_kubernetes_cluster" "main" {
451
condition = !(var.kms_enabled && var.identity_type != "UserAssigned")
452
error_message = "KMS etcd encryption doesn't work with system-assigned managed identity."
453
}
454
+ precondition {
455
+ condition = !var.workload_identity_enabled || var.oidc_issuer_enabled
456
+ error_message = "`oidc_issuer_enabled` must be set to `true` to enable Azure AD Workload Identity"
457
+ }
458
459
460
0 commit comments