Skip to content

New Feature - IAM Integration + Minor Updates on CI/Cd#30

Merged
Vortex1806 merged 2 commits into
mainfrom
feature/iam-roles-policies
Oct 20, 2025
Merged

New Feature - IAM Integration + Minor Updates on CI/Cd#30
Vortex1806 merged 2 commits into
mainfrom
feature/iam-roles-policies

Conversation

@Vortex1806

@Vortex1806 Vortex1806 commented Oct 20, 2025

Copy link
Copy Markdown
Owner

🧩 Summary

This PR introduces major improvements and refactoring in CI/CD workflows and IAM handling:

  • CI/CD Changes:

    • Added new .github/workflows/ci.yaml for test-only workflows
    • Added new .github/workflows/publish.yaml for release-only publishing
    • Removed old merge-publish.yaml workflow
    • Ensures clean workflow UI: test runs on PRs/pushes to main, publish runs only on tags
  • IAM & Service Updates:

    • Added iam/simpleIAM.js for simplified IAM operations
    • Updated services/service.js to integrate with new IAM module
    • Updated index.js to reflect workflow changes
  • Testing:

    • Added test/SimpleIAM.test.js to cover IAM functionality
  • Miscellaneous:

    • Updated package.json and package-lock.json for dependency consistency

✅ Type

  • Minor release (new features + CI/CD improvements, non-breaking)
    🔹 Starting IAM live tests...

🔹 👤 Testing User Management...
✅ Created user: boto3-js-test-user-1
✅ Created user: boto3-js-test-user-2
✅ Fetched user details: boto3-js-test-user-1
✅ Listed all users. Found 5 users.

  • Verified test users are in the list.
    ✅ Attached policy to user: boto3-js-test-user-1
  • User policies: ReadOnlyAccess
    ✅ Detached policy from user: boto3-js-test-user-1
  • User policies after detach: 0

🔹 🎭 Testing Role Management...
✅ Created role: boto3-js-test-role-1
✅ Created role: boto3-js-test-role-2
✅ Fetched role details: boto3-js-test-role-1
✅ Listed all roles. Found 9 roles.

  • Verified test roles are in the list.
    ✅ Attached policy to role: boto3-js-test-role-1
  • Role policies: ReadOnlyAccess
    ✅ Detached policy from role: boto3-js-test-role-1
  • Role policies after detach: 0

🔹 🎯 IAM live tests completed successfully!

🔹 🧹 Starting cleanup process...
✅ Deleted user: boto3-js-test-user-1
✅ Deleted user: boto3-js-test-user-2
✅ Deleted role: boto3-js-test-role-1
✅ Deleted role: boto3-js-test-role-2

@Vortex1806 Vortex1806 added this to the add IAM feature milestone Oct 20, 2025
@Vortex1806 Vortex1806 self-assigned this Oct 20, 2025
@Vortex1806 Vortex1806 added the enhancement New feature or request label Oct 20, 2025
@Vortex1806 Vortex1806 added the documentation Improvements or additions to documentation label Oct 20, 2025
@Vortex1806 Vortex1806 merged commit fe38a5c into main Oct 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant