cloud-foundation-fabric/tests/examples/variables.tf

85 lines
1.6 KiB
Terraform
Raw Normal View History

2022-01-01 06:52:31 -08:00
# Copyright 2022 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.
# common variables used for examples
2021-01-11 03:29:29 -08:00
variable "bucket" {
default = "bucket"
}
variable "billing_account_id" {
default = "billing_account_id"
}
2021-01-11 03:29:29 -08:00
variable "kms_key" {
default = {
self_link = "kms_key_self_link"
}
}
2021-01-11 03:29:29 -08:00
variable "organization_id" {
default = "organizations/1122334455"
}
variable "folder_id" {
default = "folders/1122334455"
}
variable "prefix" {
default = "test"
}
2021-01-11 03:29:29 -08:00
variable "project_id" {
default = "project-id"
}
2021-01-11 03:29:29 -08:00
variable "region" {
default = "region"
}
variable "service_account" {
default = {
2021-01-11 03:29:29 -08:00
id = "service_account_id"
email = "service_account_email"
iam_email = "service_account_iam_email"
}
}
variable "subnet" {
default = {
name = "subnet_name"
region = "subnet_region"
cidr = "subnet_cidr"
self_link = "subnet_self_link"
}
}
2021-01-11 03:29:29 -08:00
variable "vpc" {
default = {
2021-01-11 03:29:29 -08:00
name = "vpc_name"
2021-10-07 09:20:07 -07:00
self_link = "projects/xxx/global/networks/yyy"
}
}
2021-01-11 03:29:29 -08:00
variable "vpc2" {
default = {
2021-01-11 03:29:29 -08:00
name = "vpc2_name"
self_link = "vpc2_self_link"
}
}
2021-01-11 03:29:29 -08:00
variable "zone" {
default = "zone"
}