diff --git a/Makefile b/Makefile index 73a6bfc..19e4e02 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,19 @@ clean-bin: .PHONY: clean-terraform-state clean-terraform-state: - rm -rf example/.terraform terraform.tfstate.backup .terraform.lock.hcl terraform.tfstate + rm -rf example/.terraform example/terraform.tfstate.backup example/.terraform.lock.hcl example/terraform.tfstate .PHONY: clean clean: clean-bin clean-terraform-state +.PHONY: terraform-init +terraform-init: clean-terraform-state + cd example; terraform init + +.PHONY: terraform-apply +terraform-apply: + cd example; terraform apply + .PHONY: build build: mkdir -p bin @@ -22,3 +30,7 @@ install-provider: mkdir -p $(provider_directory) cp bin/terraform-provider-receita $(provider_directory) +.PHONY: run-backend +run-backend: build + bin/backend +