orientdb in production.

This commit is contained in:
Andrea Dell'Amico 2023-12-13 18:08:53 +01:00
parent 5548041553
commit 76a9517cc9
Signed by untrusted user: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
3 changed files with 1875 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# 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 "common_variables" {
source = "../../modules/common_variables"
}
module "orientdb" {
source = "../../modules/orientdb"
orientdb_nodes_count = 3
orientdb_node_flavor = "m1.medium"
orientdb_image_name = module.common_variables.ubuntu_2204.name
orientdb_image_uuid = module.common_variables.ubuntu_2204.uuid
orientdb_se_node_flavor = "m1.medium"
orientdb_se_image_name = module.common_variables.ubuntu_2204.name
orientdb_se_image_uuid = module.common_variables.ubuntu_2204.uuid
orientdb_se_ip = "192.168.12.4"
orientdb_se_cidr = "192.168.12.4/32"
}

View File

@ -0,0 +1,4 @@
provider "openstack" {
cloud = "d4s-production"
}

File diff suppressed because it is too large Load Diff