providers/aws: network_acl id-only

This commit is contained in:
Mitchell Hashimoto 2016-04-20 17:10:01 -07:00
parent 6887aad1c2
commit fc07b6315c
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 25 additions and 19 deletions

View File

@ -16,6 +16,7 @@ func TestAccAWSNetworkAcl_EgressAndIngressRules(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_network_acl.bar",
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSNetworkAclDestroy,
Steps: []resource.TestStep{
@ -58,6 +59,7 @@ func TestAccAWSNetworkAcl_OnlyIngressRules_basic(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_network_acl.foos",
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSNetworkAclDestroy,
Steps: []resource.TestStep{
@ -89,6 +91,7 @@ func TestAccAWSNetworkAcl_OnlyIngressRules_update(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_network_acl.foos",
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSNetworkAclDestroy,
Steps: []resource.TestStep{
@ -143,6 +146,7 @@ func TestAccAWSNetworkAcl_OnlyEgressRules(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_network_acl.bond",
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSNetworkAclDestroy,
Steps: []resource.TestStep{
@ -161,6 +165,7 @@ func TestAccAWSNetworkAcl_SubnetChange(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_network_acl.bar",
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSNetworkAclDestroy,
Steps: []resource.TestStep{
@ -197,6 +202,7 @@ func TestAccAWSNetworkAcl_Subnets(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_network_acl.bar",
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSNetworkAclDestroy,
Steps: []resource.TestStep{