terraform/gcp: Add ingress_whitelist (#8590)

Also, do not create unneeded resources (target pools are charged and should
only be created when needed).
This commit is contained in:
Mathieu Parent
2022-03-03 01:52:46 +01:00
committed by GitHub
parent bf7a506f79
commit 299a9ae7ba
7 changed files with 46 additions and 9 deletions

View File

@@ -90,3 +90,8 @@ variable api_server_whitelist {
variable nodeport_whitelist {
type = list(string)
}
variable "ingress_whitelist" {
type = list(string)
default = ["0.0.0.0/0"]
}