2024-05-22 17:24:59 +00:00
|
|
|
# Define required providers
|
|
|
|
terraform {
|
|
|
|
required_version = ">= 0.14.0"
|
|
|
|
required_providers {
|
|
|
|
openstack = {
|
|
|
|
source = "terraform-provider-openstack/openstack"
|
|
|
|
version = "~> 1.53.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Configure the OpenStack Provider
|
|
|
|
provider "openstack" {
|
2024-05-23 11:40:02 +00:00
|
|
|
cloud = "${var.cloud_name}"
|
2024-05-22 17:24:59 +00:00
|
|
|
}
|
2024-10-17 06:08:33 +00:00
|
|
|
|
2024-10-17 22:25:01 +00:00
|
|
|
# DCO Matrix Test
|
2024-10-17 06:08:33 +00:00
|
|
|
provider "openstack" {
|
2024-10-17 22:25:01 +00:00
|
|
|
cloud = "${var.clouddco_name}"
|
|
|
|
alias = "dco"
|
2024-10-17 06:08:33 +00:00
|
|
|
}
|
|
|
|
|
2024-10-17 22:25:01 +00:00
|
|
|
# STO3 Matrix test
|
2024-10-17 06:08:33 +00:00
|
|
|
provider "openstack" {
|
2024-10-17 22:25:01 +00:00
|
|
|
cloud = "${var.cloudsto3_name}"
|
|
|
|
alias = "sto3"
|
|
|
|
}
|
|
|
|
|
|
|
|
# STO4 Matrix test
|
|
|
|
provider "openstack" {
|
|
|
|
cloud = "${var.cloudsto4_name}"
|
|
|
|
alias = "sto4"
|
2024-10-17 06:08:33 +00:00
|
|
|
}
|