2023-12-01 15:50:29 +01:00
|
|
|
# Define required providers
|
|
|
|
terraform {
|
2023-12-14 12:55:20 +01:00
|
|
|
required_version = ">= 0.14.0"
|
2023-12-01 15:50:29 +01:00
|
|
|
required_providers {
|
|
|
|
openstack = {
|
|
|
|
source = "terraform-provider-openstack/openstack"
|
|
|
|
version = "~> 1.53.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-13 18:08:24 +01:00
|
|
|
data "terraform_remote_state" "privnet_dns_router" {
|
|
|
|
backend = "local"
|
|
|
|
|
|
|
|
config = {
|
|
|
|
path = "../project-setup/terraform.tfstate"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# SSH settings
|
|
|
|
module "ssh_settings" {
|
|
|
|
source = "../../modules/ssh-key-ref"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Global variables (constants, really)
|
|
|
|
module "common_variables" {
|
|
|
|
source = "../../modules/common_variables"
|
|
|
|
}
|
|
|
|
|