From d60d562c6262e5e2b58a2d8e5ee9f5f12eb09fc3 Mon Sep 17 00:00:00 2001 From: Justin McCormick Date: Sun, 9 Sep 2018 02:14:28 -0400 Subject: [PATCH] Add AWS::Partition as a variable available to CloudFormation templates --- moto/cloudformation/parsing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/cloudformation/parsing.py b/moto/cloudformation/parsing.py index c4059a06b..35b05d101 100644 --- a/moto/cloudformation/parsing.py +++ b/moto/cloudformation/parsing.py @@ -387,6 +387,7 @@ class ResourceMap(collections.Mapping): "AWS::StackName": stack_name, "AWS::URLSuffix": "amazonaws.com", "AWS::NoValue": None, + "AWS::Partition": "aws", } def __getitem__(self, key):