From 6401635b975d4fa3086a3d4946e6b2cffd500904 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Wed, 22 Apr 2015 14:44:31 -0500 Subject: [PATCH] providers/aws: network_acl, remove blank filter The upstream behavior here changed, and the request needs a `nil` instead of an empty slice to indicate that we _don't_ want to filter on Network ACL IDs. fixes #1634 --- builtin/providers/aws/resource_aws_network_acl.go | 1 - 1 file changed, 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_network_acl.go b/builtin/providers/aws/resource_aws_network_acl.go index 4f1e542e5..9eb02980a 100644 --- a/builtin/providers/aws/resource_aws_network_acl.go +++ b/builtin/providers/aws/resource_aws_network_acl.go @@ -342,7 +342,6 @@ func getDefaultNetworkAcl(vpc_id string, conn *ec2.EC2) (defaultAcl *ec2.Network func findNetworkAclAssociation(subnetId string, conn *ec2.EC2) (networkAclAssociation *ec2.NetworkACLAssociation, err error) { resp, err := conn.DescribeNetworkACLs(&ec2.DescribeNetworkACLsInput{ - NetworkACLIDs: []*string{}, Filters: []*ec2.Filter{ &ec2.Filter{ Name: aws.String("association.subnet-id"),