Skip to content

Commit 3efa4a7

Browse files
committed
updated terragrunt.hcl
1 parent 8e76075 commit 3efa4a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

terragrunt.hcl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ terraform {
5252
#commands = ["plan", "apply"]
5353
commands = get_terraform_commands_that_need_vars()
5454
arguments = [
55-
# must use get_terragrunt_dir() because it executes in a temporary directory which will break relative paths, while absolute paths are not portable to other machines eg. colleagues or CI/CD systems
55+
# must use get_terragrunt_dir() because it executes in a temporary directory which will break relative paths,
56+
# while absolute paths are not portable to other machines eg. colleagues machines or CI/CD systems
5657
"-var-file=${get_terragrunt_dir()}/../first.tfvars",
5758
"-var-file=${get_terragrunt_dir()}/../another.tfvars",
5859
# cannot contain whitespace, if you need whitespace separated arguments split them
@@ -63,14 +64,14 @@ terraform {
6364
commands = get_terraform_commands_that_need_locking()
6465
arguments = [
6566
# keep retrying to acquire lock for 20 minutes to avoid unnecessary CI/CD failures
66-
#
67+
"-lock-timeout=20m"
68+
6769
# you could also just disableConcurrentBuilds() in Jenkins eg.
6870
#
6971
# https://github.com/HariSekhon/Jenkins/blob/master/vars/terraformPipeline.groovy
7072
# OR
7173
# https://github.com/HariSekhon/Jenkins/blob/master/vars/terragruntPipeline.groovy
7274
#
73-
"-lock-timeout=20m"
7475
]
7576
}
7677
extra_arguments "conditional_vars" {

0 commit comments

Comments
 (0)