Skip to content

About

Terraform modules for provisioning EtcFS clusters on AWS

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

etcfs-terraform-modules

Terraform for provisioning EtcFS clusters on AWS.

Split out of the main etcfs/etcfs repository's infra/ directory; commit history for these paths was preserved in the split.

Directory What it is
terraform/ Reusable modules (modules/etcfs-cluster, modules/etcfs-asg, modules/etcfs-eks) plus a standalone EC2-only root module
terraform-asg/ Standalone Auto Scaling Group root module
terraform-eks/ Standalone EKS root module, wraps terraform/modules/etcfs-eks

Each directory has its own README.md with usage details.

The node bootstrap every ASG instance runs on first boot lives at terraform/modules/etcfs-asg/scripts/node-bootstrap.sh. It is plain bash configured through ETCFS_* environment variables, not a Terraform template, so it can be linted, run directly against a test instance, and reused by a launcher that is not Terraform — which is what etcfs-cloudformation-template does.

Prerequisite: the fencing instance profile

The etcfs-nodes IAM instance profile these modules reference (but don't manage) is created once per AWS account by scripts/infra/fencing-iam.sh in etcfs/etcfs. See that repo for fencing background.

Images

The container images and, for the EKS module, the CSI driver's Helm chart are built by CI in etcfs/etcfs and etcfs-csi-driver respectively — these modules only reference tags/versions, they don't build anything.

About

Terraform modules for provisioning EtcFS clusters on AWS

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages