2023-12-11 22:15:33 +01:00
|
|
|
# Define required providers
|
|
|
|
terraform {
|
2023-12-13 17:17:42 +01:00
|
|
|
required_version = ">= 0.14.0"
|
2023-12-11 22:15:33 +01:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# SSH settings
|
|
|
|
module "ssh_settings" {
|
|
|
|
source = "../../modules/ssh-key-ref"
|
|
|
|
}
|
|
|
|
|
|
|
|
# Global variables (constants, really)
|
|
|
|
module "common_variables" {
|
|
|
|
source = "../../modules/common_variables"
|
|
|
|
}
|
|
|
|
|