Questions tagged [terragrunt]
4 questions
6
votes
3 answers
Terragrunt Linter
I'm having troubles using HCL files at VSCode. When I open the HCL file the indentations are messy. So I fix it and close the file, when I open again...messy again...
Someone know a add-ons to works with HCL files?
The official Terraform from…
Vader
- 466
- 3
- 15
4
votes
1 answer
Terraform variable Validation
is it possible to use validation of a variable type equals list(string)?
My example:
main.tf
name = "tf-prd-sg-foo"
image_id = "ami-00e788542ee66c64f"
instance_type = "m5.xlarge"
security_groups = ["sg-000000",…
Vader
- 466
- 3
- 15
3
votes
1 answer
How to use same terraform code for both kubernetes clusters Oracle (OKE) and AWS (EKS)?
I want to use same terraform code for both kubernetes clusters oracle (OKE) and AWS (EKS) and install the argocd helm chart on it, I given my code below for your reference, now the problem I am facing now, if I set k8s_cluster_type to "eks", so…
San
- 31
- 1
0
votes
0 answers
Configure terragrunt to use a specific version of opentofu
Due to the decadence of terraform (which is nowadays nonfree/proprietary software), I have in most of my main.tf a restriction to use the latest free version, 1.5.7, like:
terraform {
required_version = ">= 1.0.5, <1.6.0"
}
Nowadays opentofu, the…
Nemo
- 101
- 1