diff --git a/examples/role-cs/MyStack.cs b/examples/role-cs/MyStack.cs index 5ea37d8e29..2552270b78 100644 --- a/examples/role-cs/MyStack.cs +++ b/examples/role-cs/MyStack.cs @@ -12,19 +12,17 @@ public MyStack() { var testRole = new Role("role-test", new RoleArgs { - AssumeRolePolicyDocument = """ - { - "Version": "2012-10-17", - "Statement": [{ - "Sid": "", - "Effect": "Allow", - "Principal": { - "Service": "ec2.amazonaws.com" + AssumeRolePolicyDocument = @"{ + ""Version"": ""2012-10-17"", + ""Statement"": [{ + ""Sid"": """", + ""Effect"": ""Allow"", + ""Principal"": { + ""Service"": ""ec2.amazonaws.com"" }, - "Action": "sts:AssumeRole" + ""Action"": ""sts:AssumeRole"" }] - } - """, + }", Policies = new[] { new IamInputs.RolePolicyArgs diff --git a/examples/role-cs/role-cs.csproj b/examples/role-cs/role-cs.csproj index 190809b34d..d475a53fb0 100644 --- a/examples/role-cs/role-cs.csproj +++ b/examples/role-cs/role-cs.csproj @@ -1,7 +1,6 @@  - 11 Exe net6.0 enable