Skip to content

Commit

Permalink
adding terragrunt.hcl file for grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
nangu001 committed Jul 23, 2024
1 parent cd91fb2 commit d8d2ecd
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion lab/us-gov-east-1/vpc/cluster/eks-grafana/terragrunt.hcl
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
contents
terraform {
source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-grafana.git"
extra_arguments "retry_lock" {
commands = get_terraform_commands_that_need_locking()
arguments = ["-lock-timeout=20m"]
}
}

remote_state {
backend = "s3"
generate = {
path = "backend.tf"
if_exists = "overwrite_terragrunt"
}
config = {
bucket = "tg-infrastructure-tf-state-lab-dev-ew-us-gov-east-1"
key = "platform-eks-test-grafana/terraform.tfstate"
region = "us-gov-east-1"
encrypt = true
}
}

dependency "eks" {
config_path = "../eks"
}

inputs = {
profile = dependency.eks.inputs.profile
cluster_name = dependency.eks.inputs.cluster_name
cluster_domain = dependency.eks.inputs.domain
certificate_issuer = "clusterissuer"
region = "us-gov-east-1"
rwo_storage_class = "gp3-encrypted"
}

0 comments on commit d8d2ecd

Please sign in to comment.