diff --git a/.github/platform-tg-infra.code-workspace b/.github/platform-tg-infra.code-workspace index 48d3087..1c8a26d 100644 --- a/.github/platform-tg-infra.code-workspace +++ b/.github/platform-tg-infra.code-workspace @@ -8,14 +8,6 @@ "name": "tfmod-cert-mgr", "path": "../../tfmod-cert-mgr" }, - { - "name": "tfmod-config-job", - "path": "../../tfmod-config-job" - }, - { - "name": "tfmod-custom-iam-role-for-service-account-eks", - "path": "../../tfmod-custom-iam-role-for-service-account-eks" - }, { "name": "tfmod-eks", "path": "../../tfmod-eks" diff --git a/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-grafana/terragrunt.hcl b/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-grafana/terragrunt.hcl index 85570c8..66564d6 100644 --- a/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-grafana/terragrunt.hcl +++ b/lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-grafana/terragrunt.hcl @@ -24,8 +24,33 @@ dependency "eks" { dependency "eks_loki" { config_path = "../eks-loki" mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] + mock_outputs = { + rwo_storage_class = "gp3-mocked" + loki_internal_endpoint = { + url = "mock.loki.enpoint.example.com" + } + } +} + +dependency "eks_prometheus" { + config_path = "../eks-prometheus" + mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] + mock_outputs = { + rwo_storage_class = "gp3-mocked" + prometheus_server_internal_endpoint = { + url = "mock.prometheus.enpoint.example.com" + } + } +} + +dependency "eks_tempo" { + config_path = "../eks-tempo" + mock_outputs_allowed_terraform_commands = ["init", "plan", "validate", "destroy"] mock_outputs = { rwo_storage_class = "gp3-mocked" + tempo_internal_endpoint = { + url = "mock.tempo.enpoint.example.com" + } } } @@ -33,7 +58,9 @@ dependencies { paths = [ "../eks", "../eks-dns", - "../eks-loki" + "../eks-loki", + "../eks-prometheus", + "../eks-tempo" ] } @@ -58,4 +85,7 @@ inputs = { namespace = include.root.inputs.namespaces["grafana"] os_shell_image_tag = include.root.inputs.os_shell_image_tag service_name = "grafana" + loki_endpoint = dependency.eks_loki.outputs.gateway_internal_endpoint.url + prometheus_endpoint = dependency.eks_prometheus.outputs.prometheus_server_internal_endpoint.url + tempo_endpoint = dependency.eks_tempo.outputs.tempo_internal_endpoint.url }