The fanout CLI was checking DESTINATION_ROLE but that is never populated. Instead it should check DESTINATION_ROLE_ARN. Also the README.md mentioned a --role-arn switch on the register and update commands, but that switch is never checked. Instead it should have been --destination-role-arn. Both changes are in this PR. Additionally the update command never pulled --destination-role-arn off of the arguments so it appeared unexpected.
The
fanout
CLI was checkingDESTINATION_ROLE
but that is never populated. Instead it should checkDESTINATION_ROLE_ARN
. Also theREADME.md
mentioned a--role-arn
switch on theregister
andupdate
commands, but that switch is never checked. Instead it should have been--destination-role-arn
. Both changes are in this PR. Additionally theupdate
command never pulled--destination-role-arn
off of the arguments so it appeared unexpected.