I am having an Ansible code which is running on an EC2 instance and deploys some AWS resources on the same account (let\'s call it account A). The EC2 instance where the Ans