vault/enos/modules/create_vpc/variables.tf
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00

38 lines
855 B
HCL

# Copyright IBM Corp. 2016, 2025
# SPDX-License-Identifier: BUSL-1.1
variable "name" {
type = string
default = "vault-ci"
description = "The name of the VPC"
}
variable "ip_version" {
type = number
default = 4
description = "The IP version to use for the default subnet"
validation {
condition = contains([4, 6], var.ip_version)
error_message = "The ip_version must be either 4 or 6"
}
}
variable "ipv4_cidr" {
type = string
default = "10.13.0.0/16"
description = "The CIDR block for the VPC when using IPV4 mode"
}
variable "environment" {
description = "Name of the environment."
type = string
default = "vault-ci"
}
variable "common_tags" {
description = "Tags to set for all resources"
type = map(string)
default = { "Project" : "vault-ci" }
}