Files
teleport/examples/dynamodb/Makefile
T
Sasha Klizhentas f2549155fd Update DynamoDB backend
* Add support for TTL
* Add support for Batch reads
* Update default values
* Use batch reads to retrieve nodes
2017-11-10 12:20:18 -08:00

20 lines
524 B
Makefile

REGION ?=
TABLE_NAME ?=
export
.PHONY: autoscale-plan
autoscale-plan:
cd autoscale && terraform init
cd autoscale && TF_VAR_table_name=$(TABLE_NAME) TF_VAR_region=$(REGION) terraform plan
.PHONY: autoscale-apply
autoscale-apply:
cd autoscale && terraform init
cd autoscale && TF_VAR_table_name=$(TABLE_NAME) TF_VAR_region=$(REGION) terraform apply
.PHONY: autoscale-destroy
autoscale-destroy:
cd autoscale && terraform init
cd autoscale && TF_VAR_table_name=$(TABLE_NAME) TF_VAR_region=$(REGION) terraform destroy