From e4278806849527fd5fd95e97a9fdff00b8856f72 Mon Sep 17 00:00:00 2001 From: clint shryock Date: Thu, 2 Jun 2016 14:35:39 -0500 Subject: [PATCH] provider/aws: Fix TestAccAWSElasticacheSecurityGroup_basic test --- ...rce_aws_elasticache_security_group_test.go | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/builtin/providers/aws/resource_aws_elasticache_security_group_test.go b/builtin/providers/aws/resource_aws_elasticache_security_group_test.go index 350f34f24..2c9c93b86 100644 --- a/builtin/providers/aws/resource_aws_elasticache_security_group_test.go +++ b/builtin/providers/aws/resource_aws_elasticache_security_group_test.go @@ -78,19 +78,20 @@ var testAccAWSElasticacheSecurityGroupConfig = fmt.Sprintf(` provider "aws" { region = "us-east-1" } + resource "aws_security_group" "bar" { - name = "tf-test-security-group-%03d" - ingress { - from_port = -1 - to_port = -1 - protocol = "icmp" - cidr_blocks = ["0.0.0.0/0"] - } + name = "tf-test-security-group-%03d" + + ingress { + from_port = -1 + to_port = -1 + protocol = "icmp" + cidr_blocks = ["0.0.0.0/0"] + } } resource "aws_elasticache_security_group" "bar" { - name = "tf-test-security-group-%03d" - description = "tf-test-security-group-descr" - security_group_names = ["${aws_security_group.bar.name}"] + name = "tf-test-security-group-%03d" + security_group_names = ["${aws_security_group.bar.name}"] } `, acctest.RandInt(), acctest.RandInt())