8000 cfn: fix failing `test_mapping_ref_map_key` for multi-account/region … · localstack/localstack@4ca599e · GitHub
[go: up one dir, main page]

Skip to content

Commit 4ca599e

Browse files
sannya-singalmacnev2013
authored andcommitted
cfn: fix failing test_mapping_ref_map_key for multi-account/region (#11699)
1 parent cdf98ff commit 4ca599e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

tests/aws/templates/mappings/mapping-ref-map-key.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@ Mappings:
33
us-east-1:
44
A: "true"
55
B: "false"
6+
us-east-2:
7+
A: "true"
8+
B: "false"
9+
us-west-1:
10+
A: "true"
11+
B: "false"
12+
us-west-2:
13+
A: "true"
14+
B: "false"
15+
ap-southeast-2:
16+
A: "true"
17+
B: "false"
18+
ap-northeast-1:
19+
A: "true"
20+
B: "false"
21+
eu-central-1:
22+
A: "true"
23+
B: "false"
24+
eu-west-1:
25+
A: "true"
26+
B: "false"
27+
628
Conditions:
729
MyCondition: !Equals
830
- !FindInMap [ !Ref MapName, !Ref AWS::Region, !Ref MapKey]
@@ -32,4 +54,3 @@ Outputs:
3254
TopicArn:
3355
Value: !Ref MyTopic
3456
Condition: MyCondition
35-

0 commit comments

Comments
 (0)
0