Skip to content

Commit

Permalink
Don't check placement group capacity if NONE or DYNAMIC
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Smith <[email protected]>
  • Loading branch information
sean-smith committed Aug 7, 2019
1 parent 5cfda60 commit 3b16d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pcluster/cfnconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def __check_account_capacity(self): # noqa: C901
ImageId=test_ami_id,
SubnetId=subnet_id,
Placement={"GroupName": self.parameters.get("PlacementGroup")}
if self.parameters.get("PlacementGroup")
if self.parameters.get("PlacementGroup") not in [None, "NONE", "DYNAMIC"]
else {},
DryRun=True,
)
Expand Down

0 comments on commit 3b16d05

Please sign in to comment.