The arn policy for AmazonDynamoDBReadOnlyAccess is incorrect in the file: cli/functions.sh. It should be:
aws iam attach-role-policy --role-name $EXEC_ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonDynamoDBReadOnlyAccess ${CLI_PARAMS[@]}
instead of:
aws iam attach-role-policy --role-name $EXEC_ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonDynamoDBReadOnlyAccess ${CLI_PARAMS[@]}
The arn policy for AmazonDynamoDBReadOnlyAccess is incorrect in the file: cli/functions.sh. It should be:
aws iam attach-role-policy --role-name $EXEC_ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonDynamoDBReadOnlyAccess ${CLI_PARAMS[@]}
instead of:aws iam attach-role-policy --role-name $EXEC_ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AmazonDynamoDBReadOnlyAccess ${CLI_PARAMS[@]}