From 3c14aa4ffdf1334d2ea3f92977e8b1ec8129f401 Mon Sep 17 00:00:00 2001 From: mromaszewicz Date: Wed, 24 Jul 2019 21:57:21 -0700 Subject: [PATCH] Fix IAM test errors due to missing version (#741) Moto is requiring policy documents to be at least version 2012-10-17, so add that property. --- stacker/hooks/iam.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stacker/hooks/iam.py b/stacker/hooks/iam.py index 009888157..f04b51f28 100644 --- a/stacker/hooks/iam.py +++ b/stacker/hooks/iam.py @@ -46,6 +46,7 @@ def create_ecs_service_role(provider, context, **kwargs): raise policy = Policy( + Version='2012-10-17', Statement=[ Statement( Effect=Allow,