From 7b779b2c41c1c2c0b424ea034b850e535f77534a Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Thu, 17 Oct 2024 08:08:33 +0200 Subject: [PATCH] Prepare multicloud setup --- IaC-test/main.tf | 10 ++++++++++ IaC-test/vars.tf | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/IaC-test/main.tf b/IaC-test/main.tf index 66db5b1..26ca417 100644 --- a/IaC-test/main.tf +++ b/IaC-test/main.tf @@ -13,3 +13,13 @@ required_version = ">= 0.14.0" provider "openstack" { cloud = "${var.cloud_name}" } + +provider "openstack" { + cloud = "${var.cloud2_name}" + alias = "STO3MT" +} + +provider "openstack" { + cloud = "${var.cloud3_name}" + alias = "STO4MT" +} diff --git a/IaC-test/vars.tf b/IaC-test/vars.tf index df36f46..a8fe110 100644 --- a/IaC-test/vars.tf +++ b/IaC-test/vars.tf @@ -42,3 +42,11 @@ variable "dns_suffix" { variable "cloud_name" { default="dco-matrixtest" } + +variable "cloud2_name" { + default="dco-matrixtest" +} + +variable "cloud3_name" { + default="dco-matrixtest" +}