35 lines
902 B
HCL
35 lines
902 B
HCL
# 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 = {
|
|
geoportal_service = {
|
|
name = "geoportal-cms",
|
|
description = "The Geoportal instance",
|
|
flavor = "m1.medium",
|
|
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
|
|
}
|
|
}
|
|
}
|