aboutsummaryrefslogtreecommitdiffstats
path: root/openlab/RegionOne/test/keycloak/terragrunt.hcl
diff options
context:
space:
mode:
authoryoonsoonjahng <yoonsoon.jahng@yoppworks.com>2020-11-24 22:12:54 -0500
committerMorgan Richomme <morgan.richomme@orange.com>2020-12-01 16:26:24 +0000
commitfcc20b6ee553738034daa69e1bed93ec57e745bd (patch)
tree53ddb04124bb9a1e3343912a9fa73b4dc53c1c3a /openlab/RegionOne/test/keycloak/terragrunt.hcl
parent78bb7f2409bb8f4fb826423c39641a3c9f7c07aa (diff)
Initial Terragrunt files to separate Terraform codes7.0.1guilin
Issue-ID: INT-1780 Change-Id: Ia23de2a11a31b4d2c9dc4800e45a27b035639ede Signed-off-by: yoonsoonjahng <yoonsoon.jahng@yoppworks.com> (cherry picked from commit c81979ab0a9991b4d0e355c39aa8d55ab1b7ff69)
Diffstat (limited to 'openlab/RegionOne/test/keycloak/terragrunt.hcl')
-rw-r--r--openlab/RegionOne/test/keycloak/terragrunt.hcl30
1 files changed, 30 insertions, 0 deletions
diff --git a/openlab/RegionOne/test/keycloak/terragrunt.hcl b/openlab/RegionOne/test/keycloak/terragrunt.hcl
new file mode 100644
index 0000000..61f2208
--- /dev/null
+++ b/openlab/RegionOne/test/keycloak/terragrunt.hcl
@@ -0,0 +1,30 @@
+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"))
+
+ keycloak_enabled = local.env_vars.locals.keycloak_enabled
+ kubernetes_home = local.env_vars.locals.kubernetes_home
+ olm_version = local.env_vars.locals.olm_version
+}
+
+terraform {
+ source = "git::https://gerrit.onap.org/r/integration/terraform//openlab/modules/kubernetes/keycloak"
+}
+
+include {
+ path = find_in_parent_folders()
+}
+
+dependencies {
+ paths = ["../kubernetes"]
+}
+
+
+inputs = {
+ keycloak_enabled = local.keycloak_enabled
+ kubernetes_home = local.kubernetes_home
+ olm_version = local.olm_version
+ crds_yaml = "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/${local.olm_version}/crds.yaml"
+ olm_yaml = "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/${local.olm_version}/olm.yaml"
+}