Issues with change in AWSCLI versions #7140
-
If I move to AWSCLI version 2 from version 1, will there be any changes in the commands? Will the same buckets be available in both versions? I I am getting "An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @oldgal43, thanks for reaching out! There are new changes in v2 that might require you to update scripts and commands and here's v2 doc for new features and breaking changes for your reference. In your case, however, you might have to attach IAM policy that allows the |
Beta Was this translation helpful? Give feedback.
Hi @oldgal43, thanks for reaching out!
There are new changes in v2 that might require you to update scripts and commands and here's v2 doc for new features and breaking changes for your reference.
In your case, however, you might have to attach IAM policy that allows the
ListBucket
action on the bucket itself and theGetObject
action on all of the bucket's objects to your IAM user/role. Please check out this stackOverflow post for code example.