-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
236 additions
and
41 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-grafana/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| include "root" { | ||
| path = find_in_parent_folders("root.hcl") | ||
| merge_strategy = "deep" | ||
| expose = true | ||
| } | ||
|
|
||
| terraform { | ||
| source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-grafana.git?ref=${include.root.inputs.release_version}" | ||
| extra_arguments "retry_lock" { | ||
| commands = get_terraform_commands_that_need_locking() | ||
| arguments = ["-lock-timeout=20m"] | ||
| } | ||
| } | ||
|
|
||
| dependency "eks" { | ||
| config_path = "../eks" | ||
| mock_outputs = { | ||
| cluster_name = "a-cluster-name" | ||
| } | ||
| } | ||
|
|
||
| dependency "eks-loki" { | ||
| config_path = "../eks-loki" | ||
| mock_outputs = { | ||
| rwo_storage_class = "gp3-encrypted" | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| paths = ["../eks", "../eks-loki", "../eks-config", "../eks-karpenter"] | ||
| } | ||
|
|
||
| inputs = { | ||
| profile = include.root.inputs.aws_profile | ||
| region = include.root.inputs.aws_region | ||
| cluster_name = dependency.eks.outputs.cluster_name | ||
| cluster_domain = dependency.eks.inputs.vpc_domain_name | ||
| public_hostname = include.root.inputs.grafana_hostname | ||
| rwo_storage_class = dependency.eks-loki.outputs.rwo_storage_class | ||
| grafana_chart_version = include.root.inputs.grafana_chart_version | ||
| grafana_tag = include.root.inputs.grafana_tag | ||
| download_dashboards_image_tag = include.root.inputs.download_dashboards_image_tag | ||
| init_chown_data_image_tag = include.root.inputs.init_chown_data_image_tag | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-k8s-dashboard/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| include "root" { | ||
| path = find_in_parent_folders("root.hcl") | ||
| merge_strategy = "deep" | ||
| expose = true | ||
| } | ||
|
|
||
| terraform { | ||
| source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-k8s-dashboard.git?ref=${include.root.inputs.release_version}" | ||
| extra_arguments "retry_lock" { | ||
| commands = get_terraform_commands_that_need_locking() | ||
| arguments = ["-lock-timeout=20m"] | ||
| } | ||
| } | ||
|
|
||
| dependency "eks" { | ||
| config_path = "../eks" | ||
| mock_outputs = { | ||
| cluster_name = "a-cluster-name" | ||
| vpc_domain_name = "example.com" | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| paths = ["../eks", "../eks-loki", "../eks-config", "../eks-karpenter"] | ||
| } | ||
|
|
||
| inputs = { | ||
| profile = include.root.inputs.aws_profile | ||
| region = include.root.inputs.aws_region | ||
| cluster_name = dependency.eks.outputs.cluster_name | ||
| cluster_domain = dependency.eks.inputs.vpc_domain_name | ||
| public_hostname = include.root.inputs.dashboard_hostname | ||
| k8s_dashboard_version = include.root.inputs.k8s_dashboard_version | ||
| # datasources = dependency.eks-loki.outputs.gateway_internal_endpoint | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-loki/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| include "root" { | ||
| path = find_in_parent_folders("root.hcl") | ||
| merge_strategy = "deep" | ||
| expose = true | ||
| } | ||
|
|
||
| terraform { | ||
| source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-loki.git?ref=${include.root.inputs.release_version}" | ||
| extra_arguments "retry_lock" { | ||
| commands = get_terraform_commands_that_need_locking() | ||
| arguments = ["-lock-timeout=20m"] | ||
| } | ||
| } | ||
|
|
||
| dependency "eks" { | ||
| config_path = "../eks" | ||
| mock_outputs = { | ||
| cluster_name = "a-cluster-name" | ||
| oidc_provider_arn = "arn:aws-us-gov:iam::111111111111:oidc-provider/oidc.eks.us-gov-east-1.amazonaws.com/id/0000000000000000AAAAAAAAAAAAAAAA" | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| paths = ["../eks", "../eks-prometheus", "../eks-config", "../eks-karpenter", "../eks-istio"] | ||
| } | ||
|
|
||
| inputs = { | ||
| profile = include.root.inputs.aws_profile | ||
| region = include.root.inputs.aws_region | ||
| cluster_name = dependency.eks.outputs.cluster_name | ||
| oidc_provider_arn = dependency.eks.outputs.oidc_provider_arn | ||
| loki_chart_version = include.root.inputs.loki_chart_version | ||
| loki_tag = include.root.inputs.loki_tag | ||
| canary_tag = include.root.inputs.canary_tag | ||
| enterprise_logs_provisioner_tag = include.root.inputs.enterprise_logs_provisioner_tag | ||
| gateway_tag = include.root.inputs.gateway_tag | ||
| memcached_tag = include.root.inputs.memcached_tag | ||
| exporter_tag = include.root.inputs.exporter_tag | ||
| sidecar_tag = include.root.inputs.sidecar_tag | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-prometheus/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| include "root" { | ||
| path = find_in_parent_folders("root.hcl") | ||
| merge_strategy = "deep" | ||
| expose = true | ||
| } | ||
|
|
||
| terraform { | ||
| source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-prometheus.git?ref=${include.root.inputs.release_version}" | ||
| extra_arguments "retry_lock" { | ||
| commands = get_terraform_commands_that_need_locking() | ||
| arguments = ["-lock-timeout=20m"] | ||
| } | ||
| } | ||
|
|
||
| dependency "eks" { | ||
| config_path = "../eks" | ||
| mock_outputs = { | ||
| cluster_name = "a-cluster-name" | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| paths = ["../eks", "../eks-config", "../eks-karpenter", "../eks-istio", "../eks-dns"] | ||
| } | ||
|
|
||
| inputs = { | ||
| profile = dependency.eks.inputs.aws_profile | ||
| region = dependency.eks.inputs.aws_region | ||
| cluster_name = dependency.eks.outputs.cluster_name | ||
| prometheus_chart_version = dependency.eks.inputs.prometheus_chart_version | ||
| prometheus_server_tag = dependency.eks.inputs.prometheus_server_tag | ||
| prometheus_config_reloader_tag = dependency.eks.inputs.prometheus_config_reloader_tag | ||
| alertmanager_tag = dependency.eks.inputs.alertmanager_tag | ||
| kube_state_metrics_tag = dependency.eks.inputs.kube_state_metrics_tag | ||
| node_exporter_tag = dependency.eks.inputs.node_exporter_tag | ||
| pushgateway_tag = dependency.eks.inputs.pushgateway_tag | ||
| } |
50 changes: 50 additions & 0 deletions
50
lab/development/us-gov-east-1/vpc/platform-eng-eks-mcm/eks-tempo/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| include "root" { | ||
| path = find_in_parent_folders("root.hcl") | ||
| merge_strategy = "deep" | ||
| expose = true | ||
| } | ||
|
|
||
| terraform { | ||
| source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-tempo.git?ref=${include.root.inputs.release_version}" | ||
| extra_arguments "retry_lock" { | ||
| commands = get_terraform_commands_that_need_locking() | ||
| arguments = ["-lock-timeout=20m"] | ||
| } | ||
| } | ||
|
|
||
| dependency "eks" { | ||
| config_path = "../eks" | ||
| mock_outputs = { | ||
| cluster_name = "a-cluster-name" | ||
| oidc_provider_arn = "arn:aws-us-gov:iam::111111111111:oidc-provider/oidc.eks.us-gov-east-1.amazonaws.com/id/0000000000000000AAAAAAAAAAAAAAAA" | ||
| } | ||
| } | ||
|
|
||
| dependency "eks-prometheus" { | ||
| config_path = "../eks-prometheus" | ||
| mock_outputs = { | ||
| prometheus_namespace = "prometheus" | ||
| prometheus_server_internal_endpoint = { | ||
| hostname = "prometheus-server.prometheus.svc.cluster.local" | ||
| port_number = 9090 | ||
| url = "http://prometheus-server.prometheus.svc.cluster.local:9090/" | ||
| } | ||
| } | ||
|
|
||
| } | ||
|
|
||
| dependencies { | ||
| paths = ["../eks", "../eks-prometheus", "../eks-config", "../eks-karpenter"] | ||
| } | ||
|
|
||
| inputs = { | ||
| account_id = dependency.eks.inputs.account_id | ||
| cluster_name = dependency.eks.outputs.cluster_name | ||
| oidc_provider_arn = dependency.eks.outputs.oidc_provider_arn | ||
| profile = dependency.eks.inputs.aws_profile | ||
| prometheus_namespace = dependency.eks-prometheus.outputs.prometheus_namespace | ||
| prometheus_port = dependency.eks-prometheus.outputs.prometheus_server_internal_endpoint.port_number | ||
| region = dependency.eks.inputs.aws_region | ||
| tempo_chart_version = dependency.eks.inputs.tempo_chart_version | ||
| tempo_tag = dependency.eks.inputs.tempo_tag | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters