Method 2: Use IAM to Configure Roles for Automation