Skip to content

Commit

Permalink
Fix module references
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgin314 committed Apr 16, 2025
1 parent 3156eb4 commit fcb6bfe
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,13 @@ resource "kubernetes_namespace" "keycloak" {
}

module "service_account" {
#source = "git@github.it.census.gov:SOA/tfmod-config-job.git//service-account?ref=1.0.0"
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//service-account"

namespace = kubernetes_namespace.keycloak.metadata[0].name
}

module "pre_install" {
#source = "git@github.it.census.gov:SOA/tfmod-config-job.git//config-job?ref=1.0.0"
# source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job?ref=feature-kiali-baseline"
source = "/data/terraform/workspaces/mcgin314/tfmod-config-job//config-job"
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job"

namespace = kubernetes_namespace.keycloak.metadata[0].name
service_account_name = module.service_account.service_account_name
Expand Down Expand Up @@ -130,9 +127,7 @@ data "kubernetes_secret" "db-secrets" {
}

module "keycloak_db_config" {
#source = "git@github.it.census.gov:SOA/tfmod-config-job.git//config-job?ref=1.0.0"
# source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job?ref=feature-kiali-baseline"
source = "/data/terraform/workspaces/mcgin314/tfmod-config-job//config-job"
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job"

depends_on = [ helm_release.keycloak-db ]

Expand Down Expand Up @@ -180,8 +175,7 @@ resource "helm_release" "keycloak" {
module "ingress_resources" {
# depends_on = [helm_release.keycloak]
# tflint-ignore: terraform_module_pinned_source
# source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-istio-service-ingress.git?ref=main"
source = "/data/terraform/workspaces/mcgin314/tfmod-istio-service-ingress"
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-istio-service-ingress.git?ref=main"
public_hostname = var.service_name
public_domain = var.cluster_domain
service_name = "keycloak-keycloakx-http"
Expand All @@ -191,8 +185,7 @@ module "ingress_resources" {

module "post_install" {
depends_on = [ helm_release.keycloak ]
# source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job?ref=feature-kiali-baseline"
source = "/data/terraform/workspaces/mcgin314/tfmod-config-job//config-job"
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-config-job.git//config-job"

namespace = kubernetes_namespace.keycloak.metadata[0].name
service_account_name = module.service_account.service_account_name
Expand Down

0 comments on commit fcb6bfe

Please sign in to comment.