Terraform to build Ethereum geth nodes infrastructure on AWS for fsbft(Fast and Simple BFT) experiment. Powered by Terraform & Terragrunt.
- Install Terraform: Follow the Official Document to install Terraform version v0.11.11, macOS user could use brew to install it directly
- Install Terragrunt: Follow the Installation Guide to install Terragrunt version v0.17.4
- Check whether there is proper permission to manage AWS resource in the machine. Using AWS profile is suggested.
- git clone this repository
~$ git clone git@github.com:charles-hsiao/terraform-aws-ethereum-nodes.git
When executing Native Terragrunt Command, that will take effect in current folder, so before doing something, please switch the "Correct" folder Below is the folder structure of this project
├── fsbft (AWS Account)
│ ├── prod (Environment)
│ └── stag
│ └── us-west-2 (Region)
│ └── fsbft (Project)
│ ├── env.tfvars
│ ├── geth-nodes (Roles)
│ │ └── terraform.tfvars
│ ├── terraform.tfvars
│ └── vpc
│ └── terraform.tfvars
└── modules (Terraform Modules)
└── fsbft (Project)
├── geth-nodes (Roles)
│ ├── asg.tf
│ └── ...
└── vpc
├── main.tf
├── outputs.tf
├── variables.tf
└── vpc.tf