зеркало из https://github.com/mozilla/subhub.git
ad11084027 | ||
---|---|---|
.. | ||
global | ||
.gitignore | ||
.terraform-version | ||
README.md | ||
backend.hcl | ||
dynamodb.tf | ||
main.tf | ||
outputs.tf | ||
terraform.tfvars | ||
variables.tf | ||
versions.tf |
README.md
Terraform
Up and Running
- Bootstrap dependencies
- Initialize Terraform
- Inspect the Terraform plan
- Apply the changes
Bootstrapping
Initialize Terraform
First, boostrap the dependencies according to:
Next initialize Terraform with the following command
terraform init -backend-config=backend.hcl
Inspect the Terraform Plan
terraform plan
Apply the Changes
terraform apply -var="USER_TABLE=USER_TABLE_NAME_GOES_HERE" -var="DELETED_USER_TABLE=DELETED_USER_TABLE_NAME_GOES_HERE" -var="EVENT_TABLE=EVENT_TABLE_NAME_GOES_HERE"
Author(s)
Stewart Henderson