Skip to content

Commit

Permalink
Fix IAM test errors due to missing version (#741)
Browse files Browse the repository at this point in the history
Moto is requiring policy documents to be at least version
2012-10-17, so add that property.
  • Loading branch information
mromaszewicz authored and phobologic committed Jul 25, 2019
1 parent 5154941 commit 3c14aa4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stacker/hooks/iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def create_ecs_service_role(provider, context, **kwargs):
raise

policy = Policy(
Version='2012-10-17',
Statement=[
Statement(
Effect=Allow,
Expand Down

0 comments on commit 3c14aa4

Please sign in to comment.