Skip to content

Commit

Permalink
s3_object - remove docs for create/delete bucket. (#1800) (#1812)
Browse files Browse the repository at this point in the history
[PR #1800/0156ebc1 backport][stable-6] s3_object - remove docs for create/delete bucket.

This is a backport of PR #1800 as merged into main (0156ebc).
SUMMARY
We dropped support for creating/deleting buckets through s3_object.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
s3_object
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell
  • Loading branch information
patchback[bot] authored Oct 19, 2023
1 parent d0359ca commit e14e0a0
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 @@ -330,24 +330,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 e14e0a0

Please sign in to comment.