While using ec2 mode with a role ARN's it would create default session cache file which would cause a deny if I switched to a different profile or use another roles ARN's. Non EC2 mode I could use -r flag to remove the cache file if using a different role to assume but when passing other flags like --ec2 the default statement in main() was ignored.
While using ec2 mode with a role ARN's it would create default session cache file which would cause a deny if I switched to a different profile or use another roles ARN's. Non EC2 mode I could use -r flag to remove the cache file if using a different role to assume but when passing other flags like --ec2 the default statement in main() was ignored.