Skip to content

Conversation

@sbkok
Copy link
Collaborator

@sbkok sbkok commented Aug 8, 2024

Issue: #750

Why?

The calculation for the maximum number of accounts that can be supported with the jump role manager in one go was incorrect.

Among other things, the calculation did not take into account the maximum length of a role name.

What?

  • Added tests to validate future changes of the policy generation process will generate policies of a supported length.
  • Fixed the calculation to include the maximum role name length of 64 characters.

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

Issue: awslabs#750

## Why?

The calculation for the maximum number of accounts that can be supported with
the jump role manager in one go was incorrect.

Among other things, the calculation did not take into account the maximum
length of a role name.

## What?

* Added tests to validate future changes of the policy generation process will
  generate policies of a supported length.
* Fixed the calculation to include the maximum role name length of 64
  characters.
@sbkok sbkok added the bug Something isn't working label Aug 8, 2024
@sbkok sbkok added this to the v4.0.1 milestone Aug 8, 2024
@sbkok sbkok requested review from StewartW and javydekoning August 8, 2024 20:04
@sbkok sbkok requested a review from Alexpngal August 8, 2024 20:30
danxie1999 pushed a commit to danxie1999/aws-deployment-framework that referenced this pull request Mar 13, 2025
@sbkok sbkok merged commit d9b3610 into awslabs:master Jun 21, 2025
@sbkok sbkok deleted the fix/750-policy-length branch June 21, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants