# Define required providers terraform { required_version = ">= 0.14.0" required_providers { openstack = { source = "terraform-provider-openstack/openstack" version = "~> 1.53.0" } } } data "terraform_remote_state" "privnet_dns_router" { backend = "local" config = { path = "../project-setup/terraform.tfstate" } } module "geo_service" { source = "../../modules/geo_services" # Here, you can overwrite the openstack_vm_data_scripts to run for ubuntuXYZ.sh # user_data_var_file = { # user_data_file = "../../openstack_vm_data_scripts/ubuntu2204.sh" # } geo_service_instances_map = { geona = { name = "geoserver-geona", description = "Geoserver geona instance", flavor = "m1.xlarge", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-geona_data_volume", vol_data_size = "50" }, esquiline = { name = "geoserver-esquiline", description = "Geoserver esquiline instance", flavor = "m2.small", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-esquiline_data_volume", vol_data_size = "20" }, ariadne = { name = "geoserver-ariadne", description = "Geoserver ariadne instance", flavor = "m2.small", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-ariadne_data_volume", vol_data_size = "20" }, grsf = { name = "geoserver-grsf", description = "Geoserver grsf instance", flavor = "m1.large", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-grsf_data_volume", vol_data_size = "40" }, protectedareaimpactmaps = { name = "geoserver-protectedareaimpactmaps", description = "Geoserver protectedareaimpactmaps instance", flavor = "c1.large", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-protectedareaimpactmaps_data_volume", vol_data_size = "70" } sdi-lab = { name = "geoserver-sdi-lab", description = "Geoserver sdi-lab instance", flavor = "m1.large", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-sdi-lab_data_volume", vol_data_size = "100" } tunaatlas = { name = "geoserver-tunaatlas", description = "Geoserver tunaatlas instance", flavor = "m1.large", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-tunaatlas_data_volume", vol_data_size = "60" } wecafc-firms = { name = "geoserver-wecafc-firms", description = "Geoserver wecafc-firms instance", flavor = "m1.large", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-wecafc-firms_data_volume", vol_data_size = "40" } aquacultureatlas = { name = "geoserver-aquacultureatlas", description = "Geoserver aquacultureatlas instance", flavor = "m1.large", networks = ["d4s-dev-cloud-main", "postgresql-srv-net"], security_groups = ["default", "http and https from the load balancers"], block_device_uuid = "7ed6a2cd-2b07-482e-8ce4-f018dff16c89" #ubuntu_18_04.uuid of DEV vol_data_name = "geoserver-aquacultureatlas_data_volume", vol_data_size = "50" } } }