From 7fa10fd0d61897d98ff10047a3e140912eb6f186 Mon Sep 17 00:00:00 2001 From: Otavio Macedo <288203+otaviomacedo@users.noreply.github.com> Date: Thu, 1 Dec 2022 14:43:18 +0000 Subject: [PATCH] fix: ResourceOverridesStackTest is failing after service principals logic update --- .../examples/testResourceOverrides.expected.json | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/java/resource-overrides/src/test/resources/software/amazon/awscdk/examples/testResourceOverrides.expected.json b/java/resource-overrides/src/test/resources/software/amazon/awscdk/examples/testResourceOverrides.expected.json index 97a5bebb2..5fd47e3ad 100644 --- a/java/resource-overrides/src/test/resources/software/amazon/awscdk/examples/testResourceOverrides.expected.json +++ b/java/resource-overrides/src/test/resources/software/amazon/awscdk/examples/testResourceOverrides.expected.json @@ -305,17 +305,7 @@ "Action": "sts:AssumeRole", "Effect": "Allow", "Principal": { - "Service": { - "Fn::Join": [ - "", - [ - "ec2.", - { - "Ref": "AWS::URLSuffix" - } - ] - ] - } + "Service": "ec2.amazonaws.com" } } ],