Answers for "create network interface terraform aws"

0

create network interface terraform aws

resource "aws_network_interface" "test" {
  subnet_id       = aws_subnet.public_a.id
  private_ips     = ["10.0.0.50"]
  security_groups = [aws_security_group.web.id]

  attachment {
    instance     = aws_instance.test.id
    device_index = 1
  }
}
Posted by: Guest on August-30-2021

Browse Popular Code Answers by Language