Skip to content

Commit

Permalink
added default Makefile actions
Browse files Browse the repository at this point in the history
Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
  • Loading branch information
ivankatliarchuk committed May 21, 2023
1 parent 384c90a commit acc4d20
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,13 @@ hooks: ## Commit hooks setup

validate: ## Validate with pre-commit hooks
@pre-commit run --all-files

init: ## Test diff
@terraform init

format: ## Terraform format
@terraform format

cleanup: ## Clean resources
@find . -type d -name ".terraform" -prune -exec rm -rf {} \;
@find . -type f -name ".terraform.lock.hcl" -prune -exec rm {} \;

0 comments on commit acc4d20

Please sign in to comment.