Skip to content

Commit

Permalink
Cannot set both client_id and identity_ids variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
zioproto authored and lonegunmanb committed Feb 27, 2025
1 parent b561d25 commit ddd177f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ variable "client_id" {
default = ""
description = "(Optional) The Client ID (appId) for the Service Principal used for the AKS deployment"
nullable = false
validation {
condition = var.identity_ids == null || var.client_id == ""
error_message = "Cannot set both `client_id` and `identity_ids`."
}
}

variable "client_secret" {
Expand Down

0 comments on commit ddd177f

Please sign in to comment.