AWS/Terraform
[AWS Terraform 기초]9. NAT Gateway Route Table 생성
1. Terraform Docs 예시 https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table Terraform Registry registry.terraform.io 예시: 인수: 2. Terraform 코드 작성 # 08_natgwrt.tf resource "aws_route_table" "pmh_natgwrt" { vpc_id = aws_vpc.pmh_vpc.id route { cidr_block = "0.0.0.0/0" gateway_id = aws_nat_gateway.pmh_natgw.id } tags = { Name = "pmh-natgwrt" } } resource "aws_route_tab..
2023. 7. 11. 23:19