From cbcb559c0cc68bf769f5e8470adfeee5019a8c0f Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Tue, 29 Jul 2014 15:03:51 -0400 Subject: [PATCH] providers/aws: add failing test for reorder ingress rules bug --- builtin/providers/aws/resource_aws_security_group_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/builtin/providers/aws/resource_aws_security_group_test.go b/builtin/providers/aws/resource_aws_security_group_test.go index 0b5876fd0..8941b7d66 100644 --- a/builtin/providers/aws/resource_aws_security_group_test.go +++ b/builtin/providers/aws/resource_aws_security_group_test.go @@ -267,6 +267,13 @@ resource "aws_security_group" "web" { cidr_blocks = ["10.0.0.0/8"] } + ingress { + protocol = "tcp" + from_port = 800 + to_port = 800 + cidr_blocks = ["10.0.0.0/8"] + } + ingress { protocol = "tcp" from_port = 80