infrastructure-as-code/openstack-tf/d4s-production/manila-swarm-shares/main.tf

38 lines
696 B
Terraform
Raw Normal View History

2024-03-05 18:34:15 +01:00
# 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"
}
}
data "terraform_remote_state" "main_infrastructure" {
backend = "local"
config = {
path = "../basic-infrastructure/terraform.tfstate"
}
}
# SSH settings
module "ssh_settings" {
source = "../../modules/ssh-key-ref"
}
#
# Uses common_variables as module
#
module "common_variables" {
source = "../../modules/common_variables"
}