Author: Not specified Language: erlang
Description: (v20) Timestamp: 2018-01-08 13:44:59 +0000
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply
resource "aws_security_group" "instance" {
  name = "terraform-example-instance"
  ingress {
     from_port = "${var.server_port}"
     to_port = "${var.server_port}"
     protocol = "tcp"
    cidr_blocks = ["0.0.0.0/0"]
    }
    lifecycle {
         create_before_destroy = true
    }
}
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply