Closed sboardwell closed 3 years ago
%s
accountId
%v
From https://pkg.go.dev/fmt
%v the value in a default format
In the case of the AWS accountId the default format was a number meaning leading zeros are removed, meaning 0123456789 becomes 123456789 resulting in an incorrect role name.
0123456789
123456789
what
%s
for the AWSaccountId
instead of%v
in ARN representations.why
From https://pkg.go.dev/fmt
In the case of the AWS
accountId
the default format was a number meaning leading zeros are removed, meaning0123456789
becomes123456789
resulting in an incorrect role name.