2023-11-17 16:50:33 +01:00
|
|
|
# Define required providers
|
|
|
|
terraform {
|
2024-02-07 12:06:45 +01:00
|
|
|
required_version = ">= 0.14.0"
|
2023-11-17 16:50: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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-02 18:25:00 +02:00
|
|
|
data "terraform_remote_state" "infrastructure_data" {
|
|
|
|
backend = "local"
|
|
|
|
|
|
|
|
config = {
|
|
|
|
path = "../basic-infrastructure/terraform.tfstate"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-07 12:06:45 +01:00
|
|
|
#
|
|
|
|
# Uses common_variables as module
|
|
|
|
#
|
|
|
|
module "common_variables" {
|
|
|
|
source = "../../modules/common_variables"
|
|
|
|
}
|
|
|
|
|
|
|
|
module "ssh_settings" {
|
|
|
|
source = "../../modules/ssh-key-ref"
|
|
|
|
}
|
2023-11-17 16:50:33 +01:00
|
|
|
|