Build scripts and things
This commit is contained in:
12
infra/Makefile
Normal file
12
infra/Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
plan=out.plan
|
||||
|
||||
SHELL := /bin/bash
|
||||
|
||||
$(plan): *.tf
|
||||
source set-env.sh && terraform plan -input=false -out $(plan)
|
||||
|
||||
push: build
|
||||
source set-env.sh && terraform apply $(plan)
|
||||
|
||||
|
||||
.PHONY: build push create-bucket
|
||||
Reference in New Issue
Block a user