-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s3_bucket_info - add support for bucket versioning in bucket_facts (#…
…1919) (#1946) [PR #1919/8ab86dd0 backport][stable-7] s3_bucket_info - add support for bucket versioning in bucket_facts This is a backport of PR #1919 as merged into main (8ab86dd). SUMMARY Module s3_bucket_info should be able to return the bucket versioning into bucket_facts ISSUE TYPE Feature Pull Request COMPONENT NAME s3_bucket_info ADDITIONAL INFORMATION - amazon.aws.s3_bucket_info: name: mybucket bucket_facts: bucket_versioninig: true expecting output { "bucket_name": "mybucket", "buckets": [ { "bucket_versioning": {"Status": "Enabled"}, ## New information in output "creation_date": "2023-12-11T15:48:42+00:00", "name": "mybucket" } ], "changed": false, "msg": "Retrieved s3 info." } Reviewed-by: Mark Chappell
- Loading branch information
1 parent
9940e4b
commit 223e338
Showing
6 changed files
with
56 additions
and
19 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
changelogs/fragments/20231211-s3_bucket_info-add-support-for-bucket_versioning.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
minor_changes: | ||
- s3_bucket_info - add parameter ``bucket_versioning`` to return the versioning state of a bucket (https://github.com/ansible-collections/amazon.aws/pull/1919). | ||
- s3_object_info - fix exception raised when listing objects from empty bucket (https://github.com/ansible-collections/amazon.aws/pull/1919). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters