-
-
Save Insidexa/cad44600e7e7544e09beaa4bf2e39164 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ➜ infra git:(infra) ✗ terramate generate | |
> 2025-03-08T19:35:45+02:00 WRN error="/home/_/job/app-dir/infra/terramate.tm.hcl:2,3-19: terramate schema error: attribute terramate.required_version can only be declared at the project root directory" action=TerramateParser.checkConfigSanity() | |
> 2025-03-08T19:35:45+02:00 WRN error="/home/_/job/app-dir/infra/terramate.tm.hcl:5,5-23: terramate schema error: attribute terramate.config.disable_safeguards can only be declared at the project root directory" action=TerramateParser.checkConfigSanity() | |
> 2025-03-08T19:35:45+02:00 WRN error="/home/_/job/app-dir/infra/terramate.tm.hcl:18,5-16: terramate schema error: attribute terramate.config.experiments can only be declared at the project root directory" action=TerramateParser.checkConfigSanity() | |
> 2025-03-08T19:35:45+02:00 WRN error="/home/_/job/app-dir/infra/terramate.tm.hcl:7,5-8: terramate schema error: block terramate.config.git can only be declared at the project root directory" action=TerramateParser.checkConfigSanity() | |
> Error: unable to parse configuration | |
> > /home/_/job/app-dir/infra/config.tm.hcl:42,12-39: import error: loading from /home/_/job/app-dir/infra: import path "/imports/providers.tm.hcl" returned no matches | |
> > /home/_/job/app-dir/infra/config.tm.hcl:46,12-37: import error: loading from /home/_/job/app-dir/infra: import path "/imports/backend.tm.hcl" returned no matches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terramate { | |
required_version = "~> 0.12.0" | |
config { | |
disable_safeguards = ["git-untracked", "git-uncommitted"] | |
git { | |
default_branch = "main" | |
default_remote = "origin" | |
} | |
run { | |
env { | |
TF_PLUGIN_CACHE_DIR = "${terramate.root.path.fs.absolute}/.terraform-cache-dir" | |
} | |
} | |
experiments = [ "tmgen", "scripts", "targets"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment