aboutsummaryrefslogtreecommitdiffstats
path: root/terragrunt/openlab/RegionOne/stage/securitygroup/terragrunt.hcl
diff options
context:
space:
mode:
authoryoonsoonjahng <yoonsoon.jahng@yoppworks.com>2020-09-10 12:12:40 -0400
committerNeil Derraugh <neil.derraugh@yoppworks.com>2020-09-14 21:25:17 +0000
commitc0987507209cdfa232b5113dbb386bfc3cf87805 (patch)
tree8214fa05f75253a10f01d06dfcb99ae788ddc408 /terragrunt/openlab/RegionOne/stage/securitygroup/terragrunt.hcl
parent8e49e9261a4aa68670937f88d44b26a129ec2b4f (diff)
Added terragrunt script pulling integration/terraform.
Issue-ID: INT-1719 Change-Id: I0282f010d07e0a1cc1259133f4237ea7e1d72126 Signed-off-by: yoonsoonjahng <yoonsoon.jahng@yoppworks.com>
Diffstat (limited to 'terragrunt/openlab/RegionOne/stage/securitygroup/terragrunt.hcl')
-rw-r--r--terragrunt/openlab/RegionOne/stage/securitygroup/terragrunt.hcl20
1 files changed, 20 insertions, 0 deletions
diff --git a/terragrunt/openlab/RegionOne/stage/securitygroup/terragrunt.hcl b/terragrunt/openlab/RegionOne/stage/securitygroup/terragrunt.hcl
new file mode 100644
index 0000000..3ebbb09
--- /dev/null
+++ b/terragrunt/openlab/RegionOne/stage/securitygroup/terragrunt.hcl
@@ -0,0 +1,20 @@
+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
+}
+
+terraform {
+ source = "git::https://gerrit.onap.org/r/integration/terraform//openlab/modules/openstack/securitygroup"
+}
+
+include {
+ path = find_in_parent_folders()
+}
+
+inputs = {
+ cluster_name = "${local.region}-${local.environment}"
+}