Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add ARN output and masking option in exportAccountId function #1191

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

liljoon
Copy link

@liljoon liljoon commented Oct 27, 2024

Issue #, if available:

#1062

Description of changes:

Currently, only accountId is provided as an output. This update adds arn as an additional output and logs it for reference. For consistency, accountId is also logged.

To address privacy and security implications, a mask-arn option has been added. The default is set to false; when true, the ARN is masked and excluded from logs. The accountId follows similar behavior.

Additionally, test code has been added to cover these changes.


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant