Skip to content

Latest commit

 

History

History

README.md

init_configuration

Summary

This module provides resources and configurations to spin up Terraform backend in AWS, including the S3 bucket and the DynamoDB table.

Inputs

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

Outputs

Name Description
dynamodb_table_arn DynamoDB table ARN for .tfstate locking
dynamodb_table_name DynamoDB table name for .tfstate locking
s3_bucket_arn S3 bucket ARN where .tfstate is stored
s3_bucket_name S3 bucket name where .tfstate is stored