This module provides resources and configurations to spin up Terraform backend in AWS, including the S3 bucket and the DynamoDB table.
| Name |
Description |
Type |
Default |
Required |
| environment |
Environment: dev or mainnet |
string |
n/a |
yes |
| profile |
Terraform Workspace profile |
map(string) |
{ "filecoin-glif-dev-apn1": "filecoin", "filecoin-glif-mainnet-apn1": "filecoin" } |
no |
| project |
Project name for prefixing |
string |
n/a |
yes |
| region |
Region to deploy the infrastructure to |
string |
n/a |
yes |
| sub_environment |
Subenvironment for prefixing |
string |
n/a |
yes |
| tf_state_dynamodb_table |
DynamoDB table to lock.tfstate |
string |
n/a |
yes |
| tf_state_s3_bucket |
n/a |
string |
S3 bucket to store .tfstate into |
yes |