diff --git a/.gitignore b/.gitignore index b9f0001..e5b77dc 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ terraform-aws-ecs-cluster.iml *.tfvars *tfstate* +*.zip diff --git a/Makefile b/Makefile index 2d6c1e1..9e69bf6 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ DIAGRAMS=docker run -v "${PWD}:/work" figurate/diagrams python EXAMPLE=$(wordlist 2, $(words $(MAKECMDGOALS)), $(MAKECMDGOALS)) -.PHONY: all clean validate test docs format +.PHONY: all clean validate test docs format example archive all: validate test docs format @@ -41,4 +41,7 @@ format: $(TERRAFORM) fmt -list=true ./examples/spotfleet example: - $(TERRAFORM) init examples/$(EXAMPLE) && $(TERRAFORM) plan -input=false examples/$(EXAMPLE) \ No newline at end of file + $(TERRAFORM) init examples/$(EXAMPLE) && $(TERRAFORM) plan -input=false examples/$(EXAMPLE) + +archive: + zip aws-ecs-cluster.zip *.tf *.png *.md