Prepare providon of multiple environments from same IaC.

This commit is contained in:
Magnus Andersson 2024-05-23 13:40:02 +02:00
parent 35ae0d1711
commit 2bd36bb9a1
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16
2 changed files with 5 additions and 1 deletions

View file

@ -11,5 +11,5 @@ required_version = ">= 0.14.0"
# Configure the OpenStack Provider
provider "openstack" {
cloud = "dco-matrixtest"
cloud = "${var.cloud_name}"
}

View file

@ -34,3 +34,7 @@ variable "controller_name" {
variable "dns_suffix" {
default = "matrix.test.sunet.se"
}
variable "cloud_name" {
default="dco-matrixtest"
}