blob: eb50f3bbf6b4428555c548e5c1873adf8b0b9a34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
locals {
# Automatically load account-level variables
region_vars = read_terragrunt_config(find_in_parent_folders("region.hcl"))
env_vars = read_terragrunt_config(find_in_parent_folders("env.hcl"))
region = local.region_vars.locals.region
environment = local.env_vars.locals.environment
network = local.env_vars.locals.network
}
terraform {
source = "git::https://gerrit.onap.org/r/integration/terraform//openlab/modules/openstack/network"
}
include {
path = find_in_parent_folders()
}
inputs = {
cluster_name = "${local.region}-${local.environment}"
network = local.network
}
|