diff --git a/aws/resource_aws_codepipeline_test.go b/aws/resource_aws_codepipeline_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_codepipeline_test.go
+++ b/aws/resource_aws_codepipeline_test.go
@@ -685,7 +685,7 @@ resource "aws_iam_role_policy" "codepipeline_policy" {
       "Action": [
         "sts:AssumeRole"
       ],
-      "Resource": aws_iam_role.codepipeline_action_role.arn
+      "Resource": "${aws_iam_role.codepipeline_action_role.arn}"
     }
   ]
 }
tests/resource/aws_codepipeline: Fix TestAccAWSCodePipeline_deployWithServiceRole (#<I>)