Closed AKSarav closed 2 years ago
cc @abikouo Could you please take a look at this? Got introduce via https://github.com/ansible-collections/amazon.aws/pull/359
+1. Also encountering this error.
ansible 5.0.1 ansible-core 2.12.1 collection amazon.aws 3.0.0
@AKSarav Thanks for taking the time to report this issue. The exception is raised when trying to copy a key not existing in the source bucket,
Summary
I was referring to the Official documentation available on this page
aws_s3 documentation ansible
there was an example for copying objects from one bucket to another
While throws an exception as follows
I have the latest version of Ansible. Ansible 11
My Boto Versions are above the recommended version on the article
boto3 1.17.58 botocore 1.20.58
Except for mode: copy all other modes seem to work properly.
Is this a bug or documentation is wrong. Can you clarify
here is the complete playbook
Issue Type
Bug Report
Component Name
amazon.aws.aws_s3
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
MAC OS CATALINA 10.15.7
Steps to Reproduce
Expected Results
The file should be from source bucket to destination bucket
Actual Results
Getting these exceptions
Exception 1
Exception 2
Code of Conduct