Cloud Discovery - AWS - ListAccountAliases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 06:04 AM
Hello
in the Cloud Discovery product, for AWS provider, anyone already successfully get the data from the ListAccountAliases aws API?
I never developped any pattern and I struggling to create one for this. (and i'm not sn dev)
I copied the route53 pattern (as both are independent from the datacenter), and created the same parameters for the orchestrator (to be triggered from sub account pattern)
It is triggered but the api call fails with a generic
Exception occurred while executing operation Cloud REST - add response to context. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: Cannot convert null to an object.. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: Cannot convert null to an object.
I based my call onto:
any idea?
thanks!
D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 06:21 AM
Hi @DavidT
Refer below Resource, Might help to resolve your issue.
https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListAccountAliases.html
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2024 02:47 AM
hello,
the link you provide is in my initial post ...
it appears the problem is in the new pattern construction. For some reason the account id is not pushed correctly from the Sub account pattern ; that's why the api call fails, there is no account provided (the null value in the error message)
it's the first time I try to create a pattern, may be I missed something.