AWS/Terraform
[AWS Terraform 기초]8. NAT Gateway 생성
1. Terraform Docs 예시 https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/nat_gateway.html Terraform Registry registry.terraform.io 예시: 인수: 2. Terraform 코드 작성 # 07_natgw.tf resource "aws_nat_gateway" "pmh_natgw" { allocation_id = aws_eip.pmh_eip.id subnet_id = aws_subnet.pmh_puba.id tags = { Name = "pmh-natgw" } depends_on = [aws_internet_gateway.pmh_ig] } resource "aws_na..
2023. 7. 11. 23:02