AWS/Terraform
[AWS Terraform 기초]13. Application Load Balancer(ALB) 생성
1. Terraform Docs 예시 https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lb Terraform Registry registry.terraform.io 예시: 인수 등: 2. Terraform 코드 작성 # 12_alb.tf resource "aws_lb" "pmh_alb" { name = "pmh-alb" internal = false security_groups = [aws_security_group.pmh_sg.id] subnets = [aws_subnet.pmh_puba.id,aws_subnet.pmh_pubc.id] tags = { Name = "pmh-alb" } } output "alb_dns..
2023. 7. 12. 23:28