Skip to content

Commit

Permalink
s3_object - remove docs for create/delete bucket. (ansible-collection…
Browse files Browse the repository at this point in the history
…s#1800)

s3_object - remove docs for create/delete bucket.

SUMMARY
We dropped support for creating/deleting buckets through s3_object.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
s3_object
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis
  • Loading branch information
tremble authored Oct 19, 2023
1 parent 978c802 commit 0156ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
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

0 comments on commit 0156ebc

Please sign in to comment.