aws-samples / pcluster-manager

Manage AWS ParallelCluster through an easy to use web interface
https://pcluster.cloud
Apache License 2.0
65 stars 27 forks source link

Add validation for multi-AZ and EFA/Placement groups #440

Closed mtfranchetto closed 1 year ago

mtfranchetto commented 1 year ago

Description

Disable EFA and Placement groups when more than one subnet is select (at the queue level). Memoize some values in Queues and MultiInstanceComputeResource to avoid endless renders after the introduction of useEffect.

How Has This Been Tested?

Manually used multi-AZ and verified EFA/PG cannot be enabled

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.