variable "os_project_data" { type = map(string) default = { id = "6fdc02e2827b405dad99f34698659742" } } variable "dns_zone" { type = map(string) default = { zone_name = "cloud-pre.d4science.org." email = "postmaster@isti.cnr.it" description = "DNS primary zone for the d4s-pre-cloud project" ttl = 8600 id = "c1a4b4bc-f167-4387-855d-38f0f99ca05c" } } variable "dns_zone_id" { # Set with the correct value after the setup is complete default = "74135b34-1a9c-4c01-8cf0-22450a5660c4" } variable "default_security_group_name" { default = "default_for_all" } 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_network_id" { # Set with the correct value after the setup is complete default = "23fd8a99-d551-4ada-8d3a-9859542ebb8c" } 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 "main_private_subnet_id" { # Set with the correct value after the setup is complete default = "cd77a2fd-4a36-4254-b1d0-70b3874c6d04" } variable "external_router" { type = map(string) default = { name = "d4s-pre-cloud-external-router" description = "D4Science Preprod main router" id = "cc26064a-bb08-4c0b-929f-d0cb39f934a3" } } variable "basic_services_ip" { type = map(string) default = { ca = "10.1.32.4" ca_cidr = "10.1.32.4/32" ssh_jump = "10.1.32.5" ssh_jump_cidr = "10.1.32.5/32" prometheus = "10.1.32.10" prometheus_cidr = "10.1.32.10/32" haproxy_l7_1 = "10.1.32.11" haproxy_l7_1_cidr = "10.1.32.11/32" haproxy_l7_2 = "10.1.32.12" haproxy_l7_2_cidr = "10.1.32.12/32" octavia_main = "10.1.32.20" octavia_main_cidr = "10.1.32.20/32" } } variable "main_haproxy_l7_ip" { type = list(string) default = ["10.1.32.11", "10.1.32.12"] } variable "octavia_information" { type = map(string) default = { main_lb_name = "d4s-pre-cloud-l4-load-balancer" main_lb_description = "Main L4 load balancer for the D4Science preproduction" swarm_lb_name = "d4s-pre-cloud-l4-swarm-load-balancer" octavia_flavor = "octavia_amphora-mvcpu-ha" octavia_flavor_id = "394988b5-6603-4a1e-a939-8e177c6681c7" main_lb_hostname = "main-lb" # The following aren't available when the module runs so we have to get them with the command # openstack --os-cloud d4s-pre port list -f value | grep octavia-lb-vrrp # This means that the execution will fail octavia_vrrp_ip_1 = "10.1.32.0/22" octavia_vrrp_ip_2 = "10.1.32.0/22" } }