You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
americanstone
changed the title
--integration-arn doesn't work if the role is on different path
--integration-arn doesn't work if the role is on different path [dup]
Jan 31, 2022
americanstone
changed the title
--integration-arn doesn't work if the role is on different path [dup]
--integration-arn doesn't work if the role is on different path
Feb 4, 2022
Description
when pass the integration-arn parameter if the arn has certainn path. the cli fails
e.g.
arn:aws:iam::xxxxxxx:policy/acct-managed/new-relic-lambda-cli
Steps to Reproduce
--integration-arn arn:aws:iam::xxxxxxxx:role/acct-managed/NewRelicInfrastructure-Integrations
I believe this line of code in utils.py
external_id = parse_arn(role_arn)["account"] result["resourcetype"], result["resource"] = elements[5].split("/")
throw error
Expected Behaviour
don't parser the external_id from role arn, allow it pass via cli parameter
Relevant Logs / Console output
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: