From c9de6a41738d7df9645cdaaa39307311679b09f4 Mon Sep 17 00:00:00 2001 From: Clint Date: Wed, 10 Aug 2016 15:34:38 -0500 Subject: [PATCH] provider/aws: Change a few policy test docs to use heredoc format, to prevent regressions (#8118) --- .../aws/resource_aws_iam_group_policy_test.go | 11 +++- .../aws/resource_aws_iam_role_policy_test.go | 65 +++++++++++++++++-- 2 files changed, 70 insertions(+), 6 deletions(-) diff --git a/builtin/providers/aws/resource_aws_iam_group_policy_test.go b/builtin/providers/aws/resource_aws_iam_group_policy_test.go index ccf35310b..8ca167b8a 100644 --- a/builtin/providers/aws/resource_aws_iam_group_policy_test.go +++ b/builtin/providers/aws/resource_aws_iam_group_policy_test.go @@ -111,7 +111,16 @@ resource "aws_iam_group" "group" { resource "aws_iam_group_policy" "foo" { name = "foo_policy" group = "${aws_iam_group.group.name}" - policy = "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"*\",\"Resource\":\"*\"}}" + policy = <