3b1181f39b
v1.14 NFR Refinement milestone complete. 20 execution phases (P1-P20) + 1 final (P21). All P1/P2 backlog from v1.11 review resolved. Security posture hardened (swallowed errors, account ID externalized, IAM scoped, schema validation, credential hygiene). Stubs resolved (kyverno --kube- version removed). 7 untested scripts gained coverage. Documentation synced (ARCHITECTURE v1.11-v1.14 addenda, stale @v1.6-1.9 -> @v1.13, GRILL G-005/G-008 resolved, COST.md window extended, D-083 deferral recorded). Platform VPC parameterized. 561 tests pass (was 528 at v1.13.2; +33). 22/22 capabilities Verified. 6 grill binding decisions (G-101..G-106) applied. 1 escalation (E-001) auto-resolved at full autonomy (D-101). ---ci--- project: acdl phase: 21 milestone: v1.14 status: complete ---/ci---
31 lines
725 B
Terraform
31 lines
725 B
Terraform
resource "aws_lb" "this" {
|
|
name = var.name
|
|
load_balancer_type = var.load_balancer_type
|
|
subnets = local.subnet_list
|
|
security_groups = local.security_groups
|
|
}
|
|
|
|
resource "aws_lb_target_group" "this" {
|
|
name_prefix = "${var.name}-"
|
|
port = var.port
|
|
protocol = var.protocol
|
|
vpc_id = var.vpc_id
|
|
target_type = var.target_type
|
|
|
|
lifecycle {
|
|
create_before_destroy = true
|
|
}
|
|
}
|
|
|
|
resource "aws_lb_listener" "this" {
|
|
load_balancer_arn = aws_lb.this.id
|
|
port = var.port
|
|
protocol = var.protocol
|
|
|
|
default_action {
|
|
type = "forward"
|
|
target_group_arn = aws_lb_target_group.this.arn
|
|
}
|
|
|
|
depends_on = [aws_lb_target_group.this]
|
|
} |