terraform/modules/compute_backend/variables.tf (42 lines of code) (raw):
/**
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
variable "project" {
description = "The project to deploy to, if not set the default provider project is used."
type = string
}
variable "name" {
description = "Name for the forwarding rule and prefix for supporting resources"
type = string
}
variable "backends" {
description = "Map backend indices to list of backend maps."
type = map(any)
}
variable "edge_security_policy" {
description = "The resource URL for the edge security policy to associate with the backend service"
type = string
default = null
}
variable "security_policy" {
description = "The resource URL for the security policy to associate with the backend service"
type = string
default = null
}
variable "load_balancing_scheme" {
description = "Load balancing scheme type (EXTERNAL for classic external load balancer, EXTERNAL_MANAGED for Envoy-based load balancer, and INTERNAL_SELF_MANAGED for traffic director)"
type = string
default = "EXTERNAL"
}