Skip to content

A library of standalone Terraform modules by cloud and managed service. GCP, AWS, Azure (VPC, compute, DB, storage, IAM, etc.), Redis Enterprise (Redis Cloud), and Confluent Cloud. One module per resource type; no cross-module creation. Compose and call from your config or orchestrator.

Notifications You must be signed in to change notification settings

thisiskushal31/Terrafrom-Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Module Bank

Banner

A library of standalone Terraform modules by cloud. Each module manages a single product or service (e.g. one VPC, one Kubernetes cluster, one bucket). Dependencies are composed by the caller; no cross-module resource creation inside modules.


What's in this repo

Folder What it does
gcp/ Google Cloud — Networking (VPC, NAT), compute (VMs, GKE, Cloud Run), storage (GCS, BigQuery, Datastore), data (Dataflow, Dataproc, Composer), IAM, secrets, DNS, Vertex AI. Full module list and usage in gcp/README.md.
aws/ Amazon Web Services — Networking (VPC), compute (EC2, EKS, Lambda, ECS), storage (S3, ECR, DynamoDB), data (RDS, Redshift, EMR, MSK), messaging (SQS, SNS, EventBridge), IAM, secrets, DNS, ACM, SageMaker. Full module list and usage in aws/README.md.
azure/ Microsoft Azure — Networking (VNet, NSG), compute (AKS, VMs), load balancer, storage (Storage Account), data (PostgreSQL Flexible Server). Full module list and usage in azure/README.md.
redis-enterprise/ Redis Enterprise (Redis Cloud) — Subscription + database on AWS, Azure, or GCP via Redis Inc. Redis Cloud. See redis-enterprise/README.md.
confluent-cloud/ Confluent Cloud — One module: Environment + Kafka cluster (you set cloud and region via variables). Optional Stream Governance, service account, API key, topics. See confluent-cloud/README.md.
red-hat/ Red Hat (planned)
oracle/ Oracle Cloud (planned)

Each cloud folder has a README with a module table (what each module is and what it’s for), how to use the modules, and an example.


Cross-cloud counterparts

Use this table to see which service in one cloud matches another when moving or comparing workloads.

Area GCP AWS Azure
Networking network, cloud-nat vpc network
Managed Kubernetes kubernetes-engine eks aks
Compute (VM) compute-engine-instance ec2-instance virtual-machine
Relational DB cloud-sql-mysql rds postgresql
Object storage cloud-storage s3-bucket storage-account
Load balancing lb-http alb load-balancer
DNS cloud-dns route53 TBD
KMS / keys kms kms TBD
Secrets secret-manager secrets-manager TBD
Serverless function cloud-function lambda TBD
Container registry artifact-registry ecr TBD
Messaging pubsub sns, sqs TBD
NoSQL / store cloud-datastore dynamodb-table TBD
Redis (managed) memorystore-redis elasticache redis-cache
Redis Enterprise (Redis Cloud) redis-enterprise/gcp redis-enterprise/aws redis-enterprise/azure
Confluent Cloud (Kafka) confluent-cloud confluent-cloud confluent-cloud
Logging log-export cloudwatch TBD
Scheduling / events cloud-scheduler eventbridge TBD
IAM / identity iam, service-accounts iam TBD
Big data / Spark dataproc emr TBD
AI / ML vertex-ai sagemaker TBD

TBD = not yet implemented in this repo for that cloud.


Repo layout

Terrafrom-Module/
├── gcp/              # Google Cloud modules — see gcp/README.md
├── aws/               # AWS modules — see aws/README.md
├── azure/             # Azure modules — see azure/README.md
├── redis-enterprise/  # Redis Enterprise (Redis Cloud) — see redis-enterprise/README.md
├── confluent-cloud/   # Confluent Cloud — single module (cloud/region in vars) — see confluent-cloud/README.md
├── versions.tf       # Optional: root Terraform/provider version constraints
└── README.md         # This file

Terraform version: Modules are version-agnostic. Use the root versions.tf where you run Terraform to pin versions if you want.

About

A library of standalone Terraform modules by cloud and managed service. GCP, AWS, Azure (VPC, compute, DB, storage, IAM, etc.), Redis Enterprise (Redis Cloud), and Confluent Cloud. One module per resource type; no cross-module creation. Compose and call from your config or orchestrator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages