Skip to content

Conversation

@aidehn
Copy link
Contributor

@aidehn aidehn commented Dec 29, 2025

Description

  • Updates the create_user_with_policy to take a username - this helps with snapshot testing as sometimes the error will contain the username which you will want to know ahead of time.
  • Now waits for the user to be created before returning.
  • This change came up as a result of this POC PR: https://github.com/localstack/localstack-pro/pull/5719

Pro AWS Build Test and Push: https://github.com/localstack/localstack-pro/actions/runs/20571377274

@github-actions
Copy link

Test Results - Preflight, Unit

23 046 tests  ±0   21 201 ✅ ±0   6m 5s ⏱️ -15s
     1 suites ±0    1 845 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit dad0b1f. ± Comparison against base commit 2417384.

@github-actions
Copy link

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   2m 49s ⏱️ -5s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit dad0b1f. ± Comparison against base commit 2417384.

@github-actions
Copy link

Test Results (amd64) - Integration, Bootstrap

    5 files  ±0      5 suites  ±0   2h 35m 29s ⏱️ +33s
5 561 tests ±0  5 001 ✅ ±0  560 💤 ±0  0 ❌ ±0 
5 567 runs  ±0  5 001 ✅ ±0  566 💤 ±0  0 ❌ ±0 

Results for commit dad0b1f. ± Comparison against base commit 2417384.

@github-actions
Copy link

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 54m 40s ⏱️ +19s
5 154 tests ±0  4 757 ✅ ±0  397 💤 ±0  0 ❌ ±0 
5 156 runs  ±0  4 757 ✅ ±0  399 💤 ±0  0 ❌ ±0 

Results for commit dad0b1f. ± Comparison against base commit 2417384.

@aidehn aidehn added semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Dec 29, 2025
@aidehn aidehn marked this pull request as ready for review December 29, 2025 10:35
Copy link
Member

@dfangl dfangl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I think this is a safe change, however could you run the pro pipeline as well to make sure we don't miss anything, as this fixture is used in IAM tests in pro as well?

@aidehn
Copy link
Contributor Author

aidehn commented Dec 29, 2025

@dfangl Thanks for the quick review! For sure, I will run the Pro tests now 👍🏼

@aidehn aidehn merged commit f8c65a0 into main Dec 29, 2025
61 of 64 checks passed
@aidehn aidehn deleted the aidehn/update/create-user-with-policy branch December 29, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants