terramate-io / terramate

Terramate CLI is an open-source Infrastructure as Code (IaC) Orchestration and Code Generation tool for Terraform, OpenTofu and Terragrunt.
https://terramate.io
Mozilla Public License 2.0
3.27k stars 91 forks source link

[FEATURE] Switch off the git safeguard checks #435

Closed lanejlanej closed 2 years ago

lanejlanej commented 2 years ago

Is your feature request related to a problem? Please describe. Have terramate project in a git repo, but do not wish to make use of the git integration at this point in time. So, have simply config {} at top level. However, terramate insists on checking for untracked files etc. It would be good if that can be switched off.

Describe the solution you'd like config setting to not fuss about git repo if you are not using git integration features

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

katcipis commented 2 years ago

Hi @lanejlanej,

We already plan to add the git checks configurations to the current project wide git config documented here.

That should solve your problem, will let you know as soon as we have it available.

lanejlanej commented 2 years ago

Hi Tiago,

That sounds good.

Thanks

On Thu, Jun 30, 2022 at 9:09 AM Tiago Cesar Katcipis < @.***> wrote:

Hi @lanejlanej https://github.com/lanejlanej,

We already plan to add the git checks configurations to the current project wide git config documented here https://github.com/mineiros-io/terramate/blob/main/docs/project-config.md#the-terramateconfiggit-block .

That should solve your problem, will let you know as soon as we have it available.

— Reply to this email directly, view it on GitHub https://github.com/mineiros-io/terramate/issues/435#issuecomment-1170904137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2ZQMDGRG55BFDX63DVWO3VRVI3JANCNFSM52GNGE2Q . You are receiving this because you were mentioned.Message ID: @.***>

i4ki commented 2 years ago

Hi @lanejlanej,

We just released Terramate v0.1.13 with the support of disabling the checks through the config and environment variables.

Have a look here for usage details.

The docs will be updated soon.