diff --git a/aws/resource_aws_transfer_user_test.go b/aws/resource_aws_transfer_user_test.go index 22bee8358b2..afe9a1a122f 100644 --- a/aws/resource_aws_transfer_user_test.go +++ b/aws/resource_aws_transfer_user_test.go @@ -276,13 +276,14 @@ resource "aws_transfer_server" "foo" { NAME = "tf-acc-test-transfer-server" } } + +data "aws_partition" "current" {} ` func testAccAWSTransferUserConfig_basic(rName string) string { - return testAccAWSTransferUserConfig_base + fmt.Sprintf(` - + return composeConfig(testAccAWSTransferUserConfig_base, fmt.Sprintf(` resource "aws_iam_role" "foo" { - name = "tf-test-transfer-user-iam-role-%s" + name = "tf-test-transfer-user-iam-role-%[1]s" assume_role_policy = <