Skip to content

Commit 0e905df

Browse files
committed
updating syntax for disabling safe-guards
1 parent f3ad92e commit 0e905df

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

terramate.tm.hcl

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ terramate {
33
# required_version_allow_prereleases = true
44
config {
55

6+
# Optionally disable safe guards
7+
# Learn more: https://terramate.io/docs/cli/orchestration/safeguards
8+
# disable_safeguards = ["git-untracked", "git-uncommitted", "outdated-code"]
9+
610
# Configure the namespace of your Terramate Cloud organization
711
cloud {
812
organization = "terramate-demo"
@@ -11,22 +15,12 @@ terramate {
1115
git {
1216
default_remote = "origin"
1317
default_branch = "main"
14-
15-
# Optionally disable git safe guards
16-
# Learn more: https://terramate.io/docs/cli/orchestration/safeguards
17-
# check_remote = false
18-
# check_untracked = false
19-
# check_uncommitted = false
2018
}
2119

2220
run {
2321
env {
2422
TF_PLUGIN_CACHE_DIR = "${terramate.root.path.fs.absolute}/.tf_plugin_cache_dir"
2523
}
26-
27-
# Optionally disable code generation safe guard
28-
# Learn more: https://terramate.io/docs/cli/orchestration/safeguards
29-
# check_gen_code = true
3024
}
3125

3226
# Enable Terramate Scripts

0 commit comments

Comments
 (0)