in the case using integration-arn to overwrite the role. external_id = parse_arn(role_arn)["account"]result["resourcetype"], result["resource"] = elements[5].split("/") throw error
if role name like
arn:aws:iam::xxxxx:role/acct-managed/NewRelicInfrastructure-Integrations
Description
in the case using integration-arn to overwrite the role.
external_id = parse_arn(role_arn)["account"]
result["resourcetype"], result["resource"] = elements[5].split("/")
throw error if role name likearn:aws:iam::xxxxx:role/acct-managed/NewRelicInfrastructure-Integrations
Steps to Reproduce
Expected Behaviour
Relevant Logs / Console output
Your Environment
Additional context