diff --git a/changelogs/fragments/1799-s3_object-bucket.yml b/changelogs/fragments/1799-s3_object-bucket.yml new file mode 100644 index 00000000000..cd905b66200 --- /dev/null +++ b/changelogs/fragments/1799-s3_object-bucket.yml @@ -0,0 +1,2 @@ +trivial: +- s3_object - Remove examples for creating/deleting buckets - support removed in 6.0.0. diff --git a/plugins/modules/s3_object.py b/plugins/modules/s3_object.py index 8fc9c8564cd..a0d2d04b74b 100644 --- a/plugins/modules/s3_object.py +++ b/plugins/modules/s3_object.py @@ -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