I'm trying to use 'aws s3 sync' on the awscli between two accounts.
Account A, I own.Account B, Owned by a third party.
Account B has given a user:jon on account A permission to a bucket through a role:assumeDevOps assumption.
Jon assumes assumeDevOps to access bucket on Account B. But now I have to sync to a bucket back on account A.
I'm getting an access denied. Possibly because that role that Jon assumed has no permissions to the bucket back on my account.
How do I do this?
Is there documentation on this kind of situation?