InfraHouse

Terraform Modules

Terraform Module Catalog

47 production-ready Terraform modules for AWS infrastructure. All modules are tested against real AWS and designed for ISO 27001 compliance.


Usage

All modules can be sourced from three locations:

# InfraHouse Private Registry  (recommended)
module "example" {
  source  = "registry.infrahouse.com/infrahouse/<module>/aws"
  version = "~> X.Y"
}

# HashiCorp Terraform Registry
module "example" {
  source  = "infrahouse/<module>/aws"
  version = "~> X.Y"
}

# GitHub (for pinning to specific commits)
module "example" {
  source = "github.com/infrahouse/terraform-aws-<module>?ref=vX.Y.Z"
}

Compute & Containers

ModuleDescriptionLinks
ecsRun services in ECSGitHub ・ Registry
sqs-ecsSQS queue with ECS service as consumerGitHub ・ Registry
sqs-podSQS queue with autoscaling group as consumerGitHub ・ Registry
website-podAutoscaling group with ALB and SSL for websitesGitHub ・ Registry
tcp-podAutoscaling group with NLB for TCP servicesGitHub ・ Registry
cloud-initCloud-init userdata for InfraHouse EC2 instancesGitHub ・ Registry
lambda-monitoredLambda with CloudWatch monitoring, log retention, and least-privilege IAMGitHub ・ Registry
emrserverlessEMR Serverless deploymentGitHub ・ Registry
ecrContainer registry (AWS ECR)GitHub ・ Registry
tags-overrideOverride tags list for ECSGitHub ・ Registry

CI/CD & GitHub Integration

ModuleDescriptionLinks
actions-runnerSelf-hosted GitHub Actions runners with warm poolGitHub ・ Registry
gha-adminTwo roles to manage AWS with GitHub ActionsGitHub ・ Registry
gh-identity-providerGitHub OpenID connector configurationGitHub ・ Registry
github-roleRole for GitHub Action workersGitHub ・ Registry
github-backupProvision infrahouse-github-backup GitHub AppGitHub ・ Registry
github-backup-configurationConfigure infrahouse-github-backup GitHub App clientGitHub ・ Registry
ci-cdRoles, state bucket, and DynamoDB table for Terraform CI/CDGitHub ・ Registry

Networking & Access

ModuleDescriptionLinks
service-networkVPC with public/private subnets, NAT, IGWGitHub ・ Registry
openvpnOpenVPN server with Google OAuthGitHub ・ Registry
jumphostSecure bastion host for SSH accessGitHub ・ Registry
update-dnsLambda for ASG instance DNS A recordsGitHub ・ Registry
http-redirectHTTP redirect serverGitHub ・ Registry
teleportSingle node Teleport clusterGitHub ・ Registry
teleport-agentResources for account joining Teleport clusterGitHub ・ Registry

Security & IAM

ModuleDescriptionLinks
secretSecrets Manager with owner/writer/reader rolesGitHub ・ Registry
secret-policyAWS secret permissions policyGitHub ・ Registry
instance-profileIAM instance profile for EC2GitHub ・ Registry
truststoreALB trust store with generated CA for mTLSGitHub ・ Registry
keyEncryption key in KMSGitHub ・ Registry
guardduty-configurationGuardDuty configuration with email notificationsGitHub ・ Registry
iso27001ISO 27001 compliance configuration for AWSGitHub ・ Registry
cloudcraft-roleRole for CloudCraft scannerGitHub ・ Registry

Terraform State & Infrastructure Management

ModuleDescriptionLinks
state-bucketS3 bucket for Terraform stateGitHub ・ Registry
state-managerIAM role for Terraform state managementGitHub ・ Registry
terraformerEC2 instance for managing Terraform root modulesGitHub ・ Registry
registryPrivate Terraform registryGitHub ・ Registry

Data & Storage

ModuleDescriptionLinks
elasticsearchSelf-managed Elasticsearch clusterGitHub ・ Registry
kibanaKibana for Elasticsearch visualizationGitHub ・ Registry
aerospikeAerospike clusterGitHub ・ Registry
s3-bucketISO 27001 compliant S3 bucketGitHub ・ Registry
dmsAWS Data Migration ServiceGitHub ・ Registry

Monitoring & Cost

ModuleDescriptionLinks
pmm-ecsPercona Monitoring and Management (PMM) server on EC2 with DockerGitHub ・ Registry
cost-alertAlert for AWS cost per periodGitHub ・ Registry

Applications & Services

ModuleDescriptionLinks
bookstackBookStack wiki deploymentGitHub ・ Registry
postfixPostfix MX server for emailGitHub ・ Registry
pypiserverPrivate PyPI serverGitHub ・ Registry
debian-repoDebian repository on S3 + CloudFrontGitHub ・ Registry

Browse all repositories on GitHub ・ Contact us for custom modules


Need help implementing these modules?

Schedule a Free Assessment