Skip to content

Commit

Permalink
Prevent deploying with the NULL deployment name
Browse files Browse the repository at this point in the history
Prevent qe-sap-deployment from deploying with the default deployment name
TEAM-7850 - Prevent qe-sap-deployment from deploying with the default deployment name
  • Loading branch information
lilyeyes committed Aug 23, 2023
1 parent 0647289 commit 7b337b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ variable "deployment_name" {
default = ""
validation {
condition = (
var.deployment_name != "default"
var.deployment_name != "default" && var.deployment_name != ""
)
error_message = "Invalid deployment_name (default) ."
}
Expand Down

0 comments on commit 7b337b8

Please sign in to comment.