* Draft terraform_naming_convention * Two fast/stages fixes for terraform_naming_convention * Disable terraform_naming_convention for resources for now * module fixes for terraform_naming_convention * tfdoc * Remove "moved" from recipe and needs-fixing * Fix moved for spoke_ra * fix tests * Use default (snake_case) for resources * factory.terraform_data.project-preconditions * First-pass migration of resources + tests * Fix tests/modules/organization * Require snake_case for variables; Add annotations for _testing * permit _fast_debug variable * Fix net_vpc_factory and net_vpc_firewall tests * tfdoc addons and recipe * Fix more tests * Fix some net-global -> net_global tests --------- Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
69 lines
1.6 KiB
HCL
69 lines
1.6 KiB
HCL
/**
|
|
* Copyright 2025 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.
|
|
*/
|
|
|
|
# tflint-ignore: terraform_naming_convention
|
|
variable "_testing" {
|
|
description = "Populate this variable to avoid triggering the data source."
|
|
type = object({
|
|
name = string
|
|
number = number
|
|
services_enabled = optional(list(string), [])
|
|
})
|
|
default = null
|
|
}
|
|
|
|
variable "aws_asn" {
|
|
description = "AWS ASN."
|
|
type = string
|
|
}
|
|
|
|
variable "aws_region" {
|
|
description = "AWS Region."
|
|
type = string
|
|
}
|
|
|
|
variable "aws_vpc_cidr_block" {
|
|
description = "CIDR block."
|
|
type = string
|
|
}
|
|
|
|
variable "gcp_asn" {
|
|
description = "Google ASN."
|
|
type = string
|
|
}
|
|
|
|
variable "gcp_region" {
|
|
description = "GCP Region."
|
|
type = string
|
|
}
|
|
|
|
variable "project_id" {
|
|
description = "Project ID."
|
|
type = string
|
|
}
|
|
|
|
variable "propagate_routes" {
|
|
description = "Flag indicating whether routed received by AWS's Virtual Private Gateway should be propagated to main route table."
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "shared_secret" {
|
|
description = "Shared secret."
|
|
type = string
|
|
sensitive = true
|
|
}
|