Skip to content

Conversation

@gmarciani
Copy link
Contributor

Description of changes

Add new parameter 'ParallelClusterFunctionAdditionalPolicies' to the ParallelCluster API stack to add custom permissions for the API Lambda role, on top of the default ones.

It is intentional to use plural form for the parameter name (ParallelClusterFunctionAdditionalPolicies) even if we currently support just one policy. In this way the parameter will be open to extensions in future.

Tests

  • Deployed PCAPI w/o specifying 'ParallelClusterFunctionAdditionalPolicies' -> the PCAPI Lambda has the default permissions
  • Deployed PCAPI w/ 'ParallelClusterFunctionAdditionalPolicies' -> the PCAPI Lambda has the extra permissions on top of the defualt ones.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…icies' to the ParallelCluster API stack to add custom permissions for the API Lambda role, on top of the default ones.
@gmarciani gmarciani merged commit 55f2ef3 into aws:develop Feb 26, 2025
24 checks passed
@gmarciani gmarciani deleted the wip/mgiacomo/3130/pcapi-additional-perms-0225-1 branch February 26, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants