From 7906c782c018d6f2c56b5c6e3079b15673b200b3 Mon Sep 17 00:00:00 2001 From: Eddie Goynes Date: Thu, 1 Jul 2021 00:19:10 -0700 Subject: [PATCH] Fix for issue #252 mediastore policy bug updated the integ.default.expected.json file for new policy output. Tested deploying and see that requests to MediaStore are not allowed directly, only requests to CloudFront now make it to MediaStore. How it should be working I presume. --- .../test/integ.default.expected.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/patterns/@aws-solutions-constructs/aws-cloudfront-mediastore/test/integ.default.expected.json b/source/patterns/@aws-solutions-constructs/aws-cloudfront-mediastore/test/integ.default.expected.json index e0aba7aac..d8f30adfe 100644 --- a/source/patterns/@aws-solutions-constructs/aws-cloudfront-mediastore/test/integ.default.expected.json +++ b/source/patterns/@aws-solutions-constructs/aws-cloudfront-mediastore/test/integ.default.expected.json @@ -71,11 +71,11 @@ { "Ref": "AWS::StackName" }, - "/*\",\"Condition\":{\"Bool\":{\"aws:UserAgent\":\"", + "/*\",\"Condition\":{\"StringEquals\":{\"aws:UserAgent\":\"", { "Ref": "testcloudfrontmediastoreCloudFrontOriginAccessIdentity966405A0" }, - "\",\"aws:SecureTransport\":\"true\"}}}]}" + "\"},\"Bool\":{\"aws:SecureTransport\":\"true\"}}}]}" ] ] }