nat.tf 172 B

123456
  1. resource "aws_nat_gateway" "natgw" {
  2. allocation_id = "${aws_eip.nateip.id}"
  3. subnet_id = "${aws_subnet.sn_public.id}"
  4. depends_on = ["aws_internet_gateway.igw"]
  5. }