From 79131e0c302bddcf34f91c05b0df54bc44269462 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 13 Mar 2025 12:30:34 -0400 Subject: [PATCH] updates --- .../eks-gogatekeeper/terragrunt.hcl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl b/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl index 37f8e0b9..119537e6 100644 --- a/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl +++ b/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-gogatekeeper/terragrunt.hcl @@ -42,6 +42,9 @@ dependency "eks_keycloak" { mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] mock_outputs = { public_endpoint = "mock.keycloak.example.com" + discovery_url = "mock.keycloak.example.com/auth" + client_id = "mock-client-id" + client_secret = "mock-client-secret" } } @@ -65,11 +68,13 @@ inputs = { # Gatekeeper Config gogatekeeper_tag = include.root.inputs.gogatekeeper_tag gogatekeeper_chart_version = include.root.inputs.gogatekeeper_chart_version - keycloak_public_url = dependency.eks_keycloak.outputs.public_endpoint + keycloak_discovery_url = dependency.eks_keycloak.outputs.discovery_url # Service Behind Gatekeeper Config - service_name = "test-gc" - redirection_url = dependency.eks_grafana.outputs.public_endpoint - client_id = dependency.eks_keycloak.outputs.client_id - client_secret = dependency.eks_keycloak.outputs.client_secret + service_name = "test-gc" + upstream_url = dependency.eks_grafana.outputs.public_endpoint + redirection_url = dependency.eks_grafana.outputs.public_endpoint + client_id = dependency.eks_keycloak.outputs.client_id + client_secret = dependency.eks_keycloak.outputs.client_secret + keycloak_public_url = dependency.eks_keycloak.outputs.public_endpoint }