aws / aws-parallelcluster-ui

Apache License 2.0
31 stars 20 forks source link

[Infrastructure] Rename APIG and Lambda resources to unblock stack updates to 2023.12.0 and added missing params to demo env #298

Closed gmarciani closed 9 months ago

gmarciani commented 9 months ago

Changes

  1. Renamed APIG and Lambda resources to unblock stack updates to 2023.12.0. The renaming is necessary because as part of PCUI private deployment we are changing the resource.toy e without changing the resource name, which is not supported by CloudFormation updates. It is also necessary for the Lambda Function, even if we are not changing the resource typ,e because, experimentally, wer observed that changing the vpc configuration is not supported by CloudFormation updates leading the resource to a failed updated (error: Lambda function did not stabilize) In particular we renamed the following resources impacted by the new feature "Private PCUI deployment":
    1. ParallelClusterUIFunction
    2. ApiGateway
    3. ApiGatewayStage
  2. Added missing stack parameters to demo env.

How Has This Been Tested?

  1. Updated demo env from 2023.10.0 to 2023.12.0 using bash scripts/deploy.sh demo.
  2. Verified that the demo env is working properly by logging in and navigating pages.

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