[0]
상황
- VPC / subnets / RT(IGW + ASSOC) 정상 생성 완료
- ALB SG + EC2 SG 정상 생성 완료
- Target Group 정상 생성 완료
- 이후 ALB + Listener 생성 중 지속 creating 발생
# [9] ALB
resource "aws_lb" "app_alb" {
name = "app-alb"
load_balancer_type = "application"
internal = false
subnets = [aws_subnet.public_a.id, aws_subnet.public_b.id]
security_groups = [aws_security_group.alb_sg.id]
tags = { Name = "app-alb" }
}
# [10] Listener
resource "aws_lb_listener" "http_80" {
load_balancer_arn = aws_lb.app_alb.arn
port = 80
protocol = "HTTP"
default_action {
type = "forward"
target_group_arn = aws_lb_target_group.app_tg.arn
}
}
-
[1]
관련 경험
이전 SG ingress 작성 시 "=" 을 넣어서 동일 오류 (지속 creating 발생) 이력
ingress = {
description = "HTTP from ALB SG"
from_port = 80
to_port = 80
protocol = "tcp"
security_groups = [aws_security_group.alb_sg.id]
}
-
[2]
당장 눈에 보이는 것
internel 인자에 false 자동완성 안됨

-
[3]
아키텍쳐 파악
먼저 만들어져야 하는 게 빠진건지?
------------------------------------------------------------------------
시간 좀 지나니까 자동 생성됨

'[2] 250909~ 클라우드 > [e] 트러블슈팅' 카테고리의 다른 글
| [4] git push (0) | 2026.01.28 |
|---|---|
| [1] ec2 접속 (0) | 2026.01.12 |
| [0] list bundle (0) | 2026.01.12 |