# 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 "smartgears_service_generic" { source = "../../modules/generic_smartgears_service" smartgears_service_instances_map = { resource_registry_1 = { name = "resource-registry-1", description = "This instance serves resource-registry service", flavor = "m1.medium", networks = ["d4s-dev-cloud-main", "orientdb-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 }, resource_registry_2 = { name = "resource-registry-1", description = "This instance serves resource-registry service", flavor = "m1.medium", networks = ["d4s-dev-cloud-main", "orientdb-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 } } }