1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
I'm not quite sure if there's a way to get this statistics on number of products provisioned in all child accounts from the management account by default.
These are CloudWatch metrics that are available per AWS account: https://docs.aws.amazon.com/servicecatalog/latest/adminguide/cloudwatch-metrics.html
Alternate way would be something like this below:
- Use the aws sts assume-role command to assume a role in each child account that has access to Service Catalog resources.
aws sts assume-role --role-arn arn:aws:iam::CHILD_ACCOUNT_ID:role/ROLE_NAME --role-session-name session-name
- Once you have assumed the role in the child account, you can use the list-record-history command to list the history of provisioned products.
aws servicecatalog list-record-history --access-level-filter '{"Key":"Account","Value":"self"}'
Relevant content
- asked 2 years ago

It's still not convenient. I am looking for something else that should be done from a root. Without assuming roles per accounts.