Revision 3e1aa52e4d9ccb8ddcdb80a39bdfae5df63afb6e authored by brharrington on 27 March 2020, 22:51:53 UTC, committed by GitHub on 27 March 2020, 22:51:53 UTC
The `skipNext` helper did not work correctly in the case
of some complex objects with nested arrays. This change
fixes the logic and adds more extensive testing with
randomly generated JSON objects.
1 parent 047ff39
Raw File
meta-iam-url.sh
#!/bin/bash

role=${1:-default}
baseUrl="http://169.254.169.254/latest/meta-data/iam/security-credentials"
echo "$baseUrl/$role"

back to top