base/aws/
Overview
This Terraform module provisions the core AWS infrastructure needed for a data platform, including:
VPC with subnets
ECS cluster for containerized workloads
Secrets Manager for sensitive values
SSM Parameters for configuration
Quick Start
module "aws" {
source = "git::https://github.com/boringdata/boringdata-template-aws-iceberg.git//base/aws"
environment = "dev"
secrets = {
"api_key" = "your-secret-value"
}
}
Key Features
Environment-based naming: All resources are prefixed with your environment name
Secure networking: Properly configured VPC with public and private subnets
Containerization: Ready-to-use ECS cluster for your workloads
Configuration management: Built-in secrets and parameters management
Module Structure
aws/
├── data.tf # AWS region and availability zones
├── ecs_cluster.tf # ECS cluster configuration
├── vpc.tf # VPC and networking resources
├── secrets.tf # AWS Secrets Manager resources
├── ssm_parameters.tf # SSM Parameter Store resources
├── variables.tf # Input variables
├── outputs.tf # Output values
├── locals.tf # Local variables
└── versions.tf # Version constraints
Architecture
%%{init: {'theme':'neutral'}}%%
graph TD
env([Environment])
vpc[VPC]
ecs[ECS Cluster]
secrets[Secrets Manager]
ssm[SSM Parameters]
env --> vpc & ecs & secrets & ssm
vpc --> subnets[Public & Private Subnets]
Requirements
Providers
Name
Version
5.91.0
Modules
Name
Source
Version
Resources
Name
Type
data source
data source
Inputs
Name
Description
Type
Default
Required
Outputs
No outputs.
Requirements
Providers
Name
Version
5.92.0
Modules
Name
Source
Version
Resources
Name
Type
data source
data source
Inputs
Name
Description
Type
Default
Required
Outputs
No outputs.
Last updated