diff --git a/cli/pcluster/config_sanity.py b/cli/pcluster/config_sanity.py index cdd67a2532..0e67d8d88a 100644 --- a/cli/pcluster/config_sanity.py +++ b/cli/pcluster/config_sanity.py @@ -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)),