aed38b12cd
* Revert back to getting the AWS role name from the URI with a small change (#49113)
- The role name and instance profile name _can_ be different
- Change the delimiter to `:` for keys that are discovered through the JSON parsing (which is not a valid delimiter for AWS IAM role names), this delimiter is still converted to underscore
- Now checks for the existence of that delimiter to remove the cases where the JSON keys are appended to the role name to find the role name
(cherry picked from commit ff9b86f560
)
* Changelog update
2 lines
135 B
YAML
2 lines
135 B
YAML
bugfixes:
|
|
- ec2_metadata_facts - Parse IAM role name from the security credential field since the instance profile name is different
|