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

Add cross-account Alarms on cloudwatch describe-alarms #9262

Closed
2 tasks
jerry42 opened this issue Jan 30, 2025 · 4 comments
Closed
2 tasks

Add cross-account Alarms on cloudwatch describe-alarms #9262

jerry42 opened this issue Jan 30, 2025 · 4 comments
Assignees
Labels
cloudwatch feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@jerry42
Copy link

jerry42 commented Jan 30, 2025

Describe the feature

When using cloudwatch describe-alarms from CLI, display cross account shared Alarms with the monitoring account.

Use Case

I would like to use a monitoring account with all alarms from other accounts in the organization and be able to list those alarms using AWS CLI (and/or boto3)

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

aws-cli/2.23.8 Python/3.12.8

Environment details (OS name and version, etc.)

Darwin/24.2.0 source/arm64

@jerry42 jerry42 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jan 30, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Jan 30, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK added cloudwatch investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Jan 30, 2025
@RyanFitzSimmonsAK
Copy link
Contributor

Hi @jerry42, thanks for reaching out. This type of feature request would need to be implemented by the service team, rather than the Boto3 or AWS CLI team. I've forwarded this feature request to the CloudWatch team for their consideration. Please refer to an SDK or AWS CLI changelog for updates about this going forward. Thanks!

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

@RyanFitzSimmonsAK
Copy link
Contributor

Update to my previous comment, it seems like this can be achieved if you use AssumeRole to assume your cross-account sharing role and call DescribeAlarms. However, this is limited to accounts that have a sharing role that trusts your monitoring account.

@jerry42
Copy link
Author

jerry42 commented Jan 31, 2025

Hi @RyanFitzSimmonsAK,

Thanks for your answer I thought about using AssumeRole but I have a lot of accounts and it would require several update. Thanks for forwarding to the CloudWatch, hope they will take my request in consideration !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloudwatch feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants