Skip to content

Commit

Permalink
removed a few folders from workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Mar 13, 2025
1 parent 20943a0 commit 5d487c5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .github/platform-tg-infra.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,43 @@ 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"
}
}
}

dependencies {
paths = [
"../eks",
"../eks-dns",
"../eks-loki"
"../eks-loki",
"../eks-prometheus",
"../eks-tempo"
]
}

Expand All @@ -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
}

0 comments on commit 5d487c5

Please sign in to comment.