Skip to content

Commit

Permalink
Adding "int" as allowed venue
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Jan 28, 2025
1 parent dd2d53a commit c1cb5b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ locals {
"ops" = "#bf4f4f"
"prod" = "#bf4f4f"
"test" = "#cfdf4f"
"int" = "#cfdf4f"
"dev" = "#58cc35"
"sbg-dev" = "#58cc35"
}[var.venue]
Expand Down
2 changes: 1 addition & 1 deletion terraform-unity/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ variable "venue" {
description = "The MCP venue in which the resources will be deployed."
type = string
validation {
condition = can(regex("^(dev|test|prod|ops|sbg-dev)$", var.venue))
condition = can(regex("^(dev|test|prod|ops|sbg-dev|int)$", var.venue))
error_message = "Invalid deployment type."
}
}
Expand Down

0 comments on commit c1cb5b0

Please sign in to comment.