update test-resource names
This commit is contained in:
parent
ea40ef9596
commit
9076e5a010
|
@ -15,9 +15,9 @@ import (
|
||||||
func TestAccAWSRolePolicyAttachment_basic(t *testing.T) {
|
func TestAccAWSRolePolicyAttachment_basic(t *testing.T) {
|
||||||
var out iam.ListAttachedRolePoliciesOutput
|
var out iam.ListAttachedRolePoliciesOutput
|
||||||
rInt := acctest.RandInt()
|
rInt := acctest.RandInt()
|
||||||
testPolicy := fmt.Sprintf("test-policy-%d", rInt)
|
testPolicy := fmt.Sprintf("tf-acctest-%d", rInt)
|
||||||
testPolicy2 := fmt.Sprintf("test-policy2-%d", rInt)
|
testPolicy2 := fmt.Sprintf("tf-acctest2-%d", rInt)
|
||||||
testPolicy3 := fmt.Sprintf("test-policy3-%d", rInt)
|
testPolicy3 := fmt.Sprintf("tf-acctest3-%d", rInt)
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
|
@ -115,7 +115,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_iam_policy" "policy" {
|
resource "aws_iam_policy" "policy" {
|
||||||
name = "test-policy-%d"
|
name = "tf-acctest-%d"
|
||||||
description = "A test policy"
|
description = "A test policy"
|
||||||
policy = <<EOF
|
policy = <<EOF
|
||||||
{
|
{
|
||||||
|
@ -161,7 +161,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_iam_policy" "policy" {
|
resource "aws_iam_policy" "policy" {
|
||||||
name = "test-policy-%d"
|
name = "tf-acctest-%d"
|
||||||
description = "A test policy"
|
description = "A test policy"
|
||||||
policy = <<EOF
|
policy = <<EOF
|
||||||
{
|
{
|
||||||
|
@ -180,7 +180,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_iam_policy" "policy2" {
|
resource "aws_iam_policy" "policy2" {
|
||||||
name = "test-policy2-%d"
|
name = "tf-acctest2-%d"
|
||||||
description = "A test policy"
|
description = "A test policy"
|
||||||
policy = <<EOF
|
policy = <<EOF
|
||||||
{
|
{
|
||||||
|
@ -199,7 +199,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_iam_policy" "policy3" {
|
resource "aws_iam_policy" "policy3" {
|
||||||
name = "test-policy3-%d"
|
name = "tf-acctest3-%d"
|
||||||
description = "A test policy"
|
description = "A test policy"
|
||||||
policy = <<EOF
|
policy = <<EOF
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue