infrastructure-as-code/openstack-tf/d4s-preprod/project-setup/00-variables.tf

40 lines
879 B
HCL

# Configure the OpenStack Provider
provider "openstack" {
cloud = "d4s-pre"
}
variable "dns-zone" {
type = string
default = "cloud-pre.d4science.org."
}
variable "main_private_network" {
type = map(string)
default = {
name = "d4s-pre-cloud-main"
description = "D4Science Preprod private network (use this as the main network)"
}
}
variable "main_private_subnet" {
type = map(string)
default = {
name = "d4s-pre-cloud-main-subnet"
description = "D4Science Preprod main private subnet"
cidr = "10.1.32.0/22"
gateway_ip = "10.1.32.1"
allocation_start = "10.1.32.100"
allocation_end = "10.1.35.254"
}
}
variable "external_router" {
type = map(string)
default = {
name = "d4s-pre-cloud-external-router"
description = "D4Science Preprod main router"
id = "cc26064a-bb08-4c0b-929f-d0cb39f934a3"
}
}