2022-01-13 23:38:26 -08:00
# Copyright 2022 Google LLC
2021-12-24 02:21:42 -08:00
#
# 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
#
# https://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 " billing_account " {
description = " Billing account id used as default for new projects. "
type = string
}
2022-01-13 23:36:42 -08:00
variable " data_eng_groups " {
2022-01-14 00:32:15 -08:00
description = " Groups with Service Account Tocken creator role on service accounts in the form 'GROUP_EMAIL@DOMAIN.COM'. "
2022-01-13 23:36:42 -08:00
type = list ( string )
default = [ ]
}
variable " data_eng_users " {
2022-01-14 00:32:15 -08:00
description = " Users with Service Account Tocken creator role on service accounts in the form 'USER_EMAIL@DOMAIN.COM'. User level role is intended for the porpuse of the test, prefer group role based on real life use cases. "
2022-01-13 23:36:42 -08:00
type = list ( string )
default = [ ]
}
2021-12-24 02:21:42 -08:00
variable " location " {
description = " The location where resources will be deployed. "
type = string
default = " europe "
}
2022-01-14 00:32:15 -08:00
variable " project_create " {
description = " Set to true to create projects, will use existing ones by default. "
type = bool
default = false
}
2021-12-24 02:21:42 -08:00
variable " project_name " {
description = " Name for the new Service Project. "
type = string
}
variable " region " {
description = " The region where resources will be deployed. "
type = string
default = " europe-west1 "
}
variable " root_node " {
description = " The resource name of the parent Folder or Organization. Must be of the form folders/folder_id or organizations/org_id. "
type = string
}
variable " ssh_source_ranges " {
description = " IP CIDR ranges that will be allowed to connect via SSH to the onprem instance. "
type = list ( string )
default = [ " 0.0.0.0/0 " ]
}
variable " vpc_ip_cidr_range " {
description = " Ip range used in the subnet deployef in the Service Project. "
type = string
default = " 10.0.0.0/20 "
}
variable " vpc_name " {
description = " Name of the VPC created in the Service Project. "
type = string
default = " local "
}
variable " vpc_subnet_name " {
description = " Name of the subnet created in the Service Project. "
type = string
default = " subnet "
}