The bug was initially the hash for one record was getting overwritten with the second one and so on. So the count of iam users was always returned one (which is the last one). Adding a fix for that issue where each result is getting appended to an array.
Issues Resolved
List any existing issues this PR resolves, or any Discourse or StackOverflow discussion that's relevant
Check List
Please fill box or appropriate ([x]) or mark N/A.
[ ] New functionality includes integration tests/controls
[ ] New Terraform resources
[ ] Documentation provided or updated for resources
Signed-off-by: Rohit Joshi rohit.prasad.joshi@sap.com
Description
The bug was initially the hash for one record was getting overwritten with the second one and so on. So the count of iam users was always returned one (which is the last one). Adding a fix for that issue where each result is getting appended to an array.
Issues Resolved
List any existing issues this PR resolves, or any Discourse or StackOverflow discussion that's relevant
Check List
Please fill box or appropriate ([x]) or mark N/A.
rake lint
passes