Skip to content

Commit

Permalink
Fix broken sanity check for custom EC2 role
Browse files Browse the repository at this point in the history
aws#1241

Signed-off-by: Francesco De Martino <[email protected]>
  • Loading branch information
demartinofra committed Aug 1, 2019
1 parent a391d89 commit 073ea31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/pcluster/config_sanity.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ def validate(self, resource_type, resource_value): # noqa: C901 FIXME
"arn:%s:dynamodb:%s:%s:table/parallelcluster-*" % (partition, self.region, account_id),
),
(
["cloudformation:DescribeStacks"],
["cloudformation:DescribeStackResource"],
["cloudformation:DescribeStacks", "cloudformation:DescribeStackResource"],
"arn:%s:cloudformation:%s:%s:stack/parallelcluster-*/*" % (partition, self.region, account_id),
),
(["s3:GetObject"], "arn:%s:s3:::%s-aws-parallelcluster/*" % (partition, self.region)),
Expand Down

0 comments on commit 073ea31

Please sign in to comment.