Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3_object - remove docs for create/delete bucket. #1800

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/1799-s3_object-bucket.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
trivial:
- s3_object - Remove examples for creating/deleting buckets - support removed in 6.0.0.
18 changes: 0 additions & 18 deletions plugins/modules/s3_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,24 +338,6 @@
marker: /my/desired/0023.txt
max_keys: 472

- name: Create an empty bucket
amazon.aws.s3_object:
bucket: mybucket
mode: create
permission: public-read

- name: Create a bucket with key as directory, in the EU region
amazon.aws.s3_object:
bucket: mybucket
object: /my/directory/path
mode: create
region: eu-west-1

- name: Delete a bucket and all contents
amazon.aws.s3_object:
bucket: mybucket
mode: delete

- name: GET an object but don't download if the file checksums match. New in 2.0
amazon.aws.s3_object:
bucket: mybucket
Expand Down