infrastructure-as-code/openstack-tf/d4s-production/basic-infrastructure/provider.tf

27 lines
472 B
Terraform
Raw Normal View History

# Define required providers
terraform {
2023-11-30 19:48:49 +01:00
required_version = ">= 0.14.0"
required_providers {
openstack = {
source = "terraform-provider-openstack/openstack"
version = "~> 1.53.0"
}
}
}
2023-11-06 00:48:52 +01:00
provider "openstack" {
2023-11-30 19:48:49 +01:00
cloud = "d4s-production"
2023-11-06 00:48:52 +01:00
}
2023-12-19 13:05:00 +01:00
data "terraform_remote_state" "privnet_dns_router" {
backend = "local"
config = {
path = "../project-setup/terraform.tfstate"
}
}
module "ssh_settings" {
source = "../../modules/ssh-key-ref"
}