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 677d4f7 commit ab1e4aaCopy full SHA for ab1e4aa
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 : true
456
+ error_message = "`oidc_issuer_enabled` must be set to `true` to enable Azure AD Workload Identity"
457
+ }
458
459
460
0 commit comments