Demo: summarize Terraform resources for a pull request
A useful Terraform diagram shows what kind of infrastructure is being changed and how resources relate. It should make review faster before someone opens the full module.
- Group resources by provider or module.
- Call out public entry points and security boundaries.
- Compare diagram structure with terraform plan before approval.
resource "aws_lb" "app" {}
resource "aws_security_group" "web" {}
resource "aws_ecs_service" "api" {
load_balancer {
target_group_arn = aws_lb_target_group.api.arn
}
}
resource "aws_rds_cluster" "main" {}