Add terraform 'no command' rule (#1317)

* Add terraform 'no command' rule

* Feedback from PR

Co-authored-by: Joseph Daniel <jdn@logpoint.com>
This commit is contained in:
josepdaniel
2022-09-25 21:37:47 +02:00
committed by GitHub
parent 77627a3140
commit ceeaeab94b
3 changed files with 44 additions and 0 deletions
+1
View File
@@ -332,6 +332,7 @@ following rules are enabled by default:
* `switch_lang` &ndash; switches command from your local layout to en;
* `systemctl` &ndash; correctly orders parameters of confusing `systemctl`;
* `terraform_init.py` &ndash; run `terraform init` before plan or apply;
* `terraform_no_command.py` &ndash; fixes unrecognized `terraform` commands;
* `test.py` &ndash; runs `py.test` instead of `test.py`;
* `touch` &ndash; creates missing directories before "touching";
* `tsuru_login` &ndash; runs `tsuru login` if not authenticated or session expired;