111 lines
1.9 KiB
HCL
111 lines
1.9 KiB
HCL
/**
|
|
* Copyright 2020 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 "auto_create_network" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "custom_roles" {
|
|
type = map(list(string))
|
|
default = {}
|
|
}
|
|
|
|
variable "iam" {
|
|
type = map(list(string))
|
|
default = {}
|
|
}
|
|
|
|
variable "iam_additive" {
|
|
type = map(list(string))
|
|
default = {}
|
|
}
|
|
|
|
variable "iam_additive_members" {
|
|
type = map(list(string))
|
|
default = {}
|
|
}
|
|
|
|
variable "labels" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "lien_reason" {
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "oslogin" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "oslogin_admins" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "oslogin_users" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "parent" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "policy_boolean" {
|
|
type = map(bool)
|
|
default = {}
|
|
}
|
|
|
|
variable "policy_list" {
|
|
type = map(object({
|
|
inherit_from_parent = bool
|
|
suggested_value = string
|
|
status = bool
|
|
values = list(string)
|
|
}))
|
|
default = {}
|
|
}
|
|
|
|
variable "prefix" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "services" {
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "logging_sinks" {
|
|
type = map(object({
|
|
destination = string
|
|
type = string
|
|
filter = string
|
|
iam = bool
|
|
}))
|
|
default = {}
|
|
}
|
|
|
|
variable "logging_exclusions" {
|
|
type = map(string)
|
|
default = {}
|
|
}
|