Compute • aws_instance: EC2 virtual server • aws_lambda_function: Serverless Lambda function • aws_ecs_cluster / aws_ecs_service: Elastic Container Service • aws_eks_cluster: Managed Kubernetes (EKS) Networking and Content Delivery • aws_vpc: Virtual Private Cloud • aws_subnet: Subnet inside a VPC • aws_security_group: Firewall rules for EC2/RDS/Load Balancers • aws_lb: Application or Network Load Balancer • aws_route53_record: DNS record in Route 53 Storage and Databases • aws_s3_bucket: S3 object storage bucket • aws_ebs_volume: Elastic Block Store volume • aws_db_instance: Managed relational database (RDS) • aws_dynamodb_table: NoSQL DynamoDB table Security and Identity (IAM) • aws_iam_role: IAM role for AWS services or users • aws_iam_policy: Permissions policy document • aws_iam_user: IAM user account • aws_kms_key: Encryption key in Key Management Service Application Load Balancer (ALB) • aws_lb: The Application Load Balancer itself (set load_balancer_type = "application"). (Note: aws_alb is a legacy alias for aws_lb.) • aws_lb_target_group: Defines where traffic is routed (e.g. EC2 instances, ECS tasks, or IP addresses) and configures health checks. • aws_lb_listener: Listens on a specific port/protocol (like HTTP :80 or HTTPS :443) and forwards requests to a target group. • aws_lb_listener_rule: Optional routing rules based on URL paths or host headers. Elastic Container Registry (ECR) • aws_ecr_repository: Creates a private Docker/OCI container image repository • aws_ecr_lifecycle_policy: Automates cleaning up old or untagged container images • aws_ecr_repository_policy: Controls IAM permissions for who can push or pull images. Relational Database Service (RDS) & PostgreSQL In Terraform, PostgreSQL does not have its own separate resource type—you use the standard RDS resource and specify engine = "postgres": • aws_db_instance: Provisions a standalone RDS database instance (set engine = "postgres" and engine_version = "16.3", etc.) • aws_db_subnet_group: Defines which VPC subnets your RDS instance can run in (required for custom VPCs) • aws_db_parameter_group: Customizes PostgreSQL engine configuration parameters (e.g. max_connections) • aws_rds_cluster & aws_rds_cluster_instance: Used if you are running Amazon Aurora PostgreSQL (engine = "aurora-postgresql") instead of standard RDS.