Skip to content

Commit

Permalink
updating syntax for disabling safe-guards (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmartius authored Jul 30, 2024
2 parents f3ad92e + 34d1986 commit 0183939
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions terramate.tm.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ terramate {
# required_version_allow_prereleases = true
config {

# Optionally disable safe guards
# Learn more: https://terramate.io/docs/cli/orchestration/safeguards
# disable_safeguards = [
# "git-untracked",
# "git-uncommitted",
# "git-out-of-sync",
# "outdated-code",
# ]

# Configure the namespace of your Terramate Cloud organization
cloud {
organization = "terramate-demo"
Expand All @@ -11,22 +20,12 @@ terramate {
git {
default_remote = "origin"
default_branch = "main"

# Optionally disable git safe guards
# Learn more: https://terramate.io/docs/cli/orchestration/safeguards
# check_remote = false
# check_untracked = false
# check_uncommitted = false
}

run {
env {
TF_PLUGIN_CACHE_DIR = "${terramate.root.path.fs.absolute}/.tf_plugin_cache_dir"
}

# Optionally disable code generation safe guard
# Learn more: https://terramate.io/docs/cli/orchestration/safeguards
# check_gen_code = true
}

# Enable Terramate Scripts
Expand Down

0 comments on commit 0183939

Please sign in to comment.