ansible-collections / amazon.aws

Ansible Collection for Amazon AWS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`amazon.aws.s3_bucket` module cannot configure object-lock-configuration

hydezhao opened this issue · comments

Summary

When using the cli , we can do aws s3api put-object-lock-configuration to configure the object-lock configuration. While it cannot be done via the ansible module amazon.aws.s3_bucket.

Issue Type

Bug Report

Component Name

s3_bucket

Ansible Version

$ ansible --version
ansible [core 2.14.8]
  python version = 3.10.14 (main, Mar 19 2024, 21:46:16) [Clang 15.0.0 (clang-1500.3.9.4)] 
  jinja version = 3.1.2
  libyaml = True

Collection Versions

$ ansible-galaxy collection list

amazon.aws            7.4.0

AWS SDK versions

$ pip show boto boto3 botocore

Name: boto3
Version: 1.34.75

Name: botocore
Version: 1.34.75

Configuration

$ ansible-config dump --only-changed

OS / Environment

No response

Steps to Reproduce

Expected Results

object-lock-configuration can be set via this module

Actual Results

Code of Conduct

  • I agree to follow the Ansible Code of Conduct