Skip to content

Commit

Permalink
fix format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Nov 27, 2023
1 parent 5950020 commit d4c04b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ EOT
error_message = "Either one of `existing_gw` or `new_gw` must be set once `var.application_gateway_for_ingress` is not `null`."
}
validation {
condition = !try(var.application_gateway_for_ingress.new_gw.create_role_assignments, false) || try(var.application_gateway_for_ingress.new_gw.subnet_id != null, true)
condition = !try(var.application_gateway_for_ingress.new_gw.create_role_assignments, false) || try(var.application_gateway_for_ingress.new_gw.subnet_id != null, true)
error_message = "`var.application_gateway_for_ingress.new_gw.subnet_id` must be set when `var.application_gateway_for_ingress.new_gw.create_role_assignments` is `true`."
}
}
Expand Down

0 comments on commit d4c04b1

Please sign in to comment.