update test-resource names

This commit is contained in:
Jake Champlin 2017-03-23 09:27:44 -04:00
parent ea40ef9596
commit 9076e5a010
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2
1 changed files with 7 additions and 7 deletions

View File

@ -15,9 +15,9 @@ import (
func TestAccAWSRolePolicyAttachment_basic(t *testing.T) {
var out iam.ListAttachedRolePoliciesOutput
rInt := acctest.RandInt()
testPolicy := fmt.Sprintf("test-policy-%d", rInt)
testPolicy2 := fmt.Sprintf("test-policy2-%d", rInt)
testPolicy3 := fmt.Sprintf("test-policy3-%d", rInt)
testPolicy := fmt.Sprintf("tf-acctest-%d", rInt)
testPolicy2 := fmt.Sprintf("tf-acctest2-%d", rInt)
testPolicy3 := fmt.Sprintf("tf-acctest3-%d", rInt)
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
@ -115,7 +115,7 @@ EOF
}
resource "aws_iam_policy" "policy" {
name = "test-policy-%d"
name = "tf-acctest-%d"
description = "A test policy"
policy = <<EOF
{
@ -161,7 +161,7 @@ EOF
}
resource "aws_iam_policy" "policy" {
name = "test-policy-%d"
name = "tf-acctest-%d"
description = "A test policy"
policy = <<EOF
{
@ -180,7 +180,7 @@ EOF
}
resource "aws_iam_policy" "policy2" {
name = "test-policy2-%d"
name = "tf-acctest2-%d"
description = "A test policy"
policy = <<EOF
{
@ -199,7 +199,7 @@ EOF
}
resource "aws_iam_policy" "policy3" {
name = "test-policy3-%d"
name = "tf-acctest3-%d"
description = "A test policy"
policy = <<EOF
{