aws / aws-parallelcluster-ui

Apache License 2.0
31 stars 17 forks source link

[Infrastructure] Specify PermissionsBoundaryPolicy and IAMRoleAndPolicyPrefix in PCAPI only if not empty. #300

Closed gmarciani closed 6 months ago

gmarciani commented 6 months ago

Description

  1. Specify PermissionsBoundaryPolicy and IAMRoleAndPolicyPrefix in PCAPI only if not empty. In this way the PCUI 2023.12.0 deployment can succeed even with PC >= 3.8.0.
  2. Fix the parameter used in PCAPI: PermissionsBoundaryPolicyPCAPI rather than PermissionsBoundaryPolicy. This was a bug we did not notice before becausde during manual tests we have always used the same permissions boundary both for PCUI and PCAPI.

How Has This Been Tested?

  1. Deployed PCUI with PC 3.5.0
    1. Deployed PCUI with PC 3.8.0b1

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