timescaledb preprod.

This commit is contained in:
Andrea Dell'Amico 2024-02-14 16:35:53 +01:00
parent 887bf54393
commit 0c746b807a
Signed by untrusted user: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
3 changed files with 1132 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# 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 "timescaledb" {
source = "../../modules/timescaledb"
timescaledb_server_data = {
node_name = "timescaledb"
node_data_disk_size = 30
node_data_disk_device = "/dev/vdb"
}
timescaledb_nodes_count = 1
timescaledb_node_flavor = "m1.medium"
timescaledb_ip = ["192.168.11.5"]
}

View File

@ -0,0 +1,3 @@
provider "openstack" {
cloud = "d4s-pre"
}

File diff suppressed because it is too large Load Diff