From 5b16726950165cfc61cb298710709f137d1fcece Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Fri, 5 Jul 2019 07:28:27 -0400 Subject: [PATCH] tests/resource/aws_iam_group_policy: Ignore name_prefix during import testing Reference: https://github.com/terraform-providers/terraform-provider-aws/pull/9217#pullrequestreview-258354621 ``` --- PASS: TestAccAWSIAMGroupPolicy_namePrefix (16.04s) ``` --- aws/resource_aws_iam_group_policy_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aws/resource_aws_iam_group_policy_test.go b/aws/resource_aws_iam_group_policy_test.go index 0cff70662feb..40cd330eed51 100644 --- a/aws/resource_aws_iam_group_policy_test.go +++ b/aws/resource_aws_iam_group_policy_test.go @@ -111,9 +111,10 @@ func TestAccAWSIAMGroupPolicy_namePrefix(t *testing.T) { ), }, { - ResourceName: "aws_iam_group_policy.test", - ImportState: true, - ImportStateVerify: true, + ResourceName: "aws_iam_group_policy.test", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{"name_prefix"}, }, }, })