From 5d9a3e75483d3e3bad18c386c66c30d91a297cb5 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Thu, 12 Oct 2023 17:29:33 +0200 Subject: [PATCH] s3_object - remove docs for create/delete bucket. --- changelogs/fragments/1799-s3_object-bucket.yml | 2 ++ plugins/modules/s3_object.py | 18 ------------------ 2 files changed, 2 insertions(+), 18 deletions(-) create mode 100644 changelogs/fragments/1799-s3_object-bucket.yml 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