Uploaded image for project: 'Ansible Cloud Automation'
  1. Ansible Cloud Automation
  2. ACA-1816

[amazon.aws/2034] `amazon.aws.s3_bucket` module cannot configure object-lock-configuration

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      https://github.com/ansible-collections/amazon.aws/issues/2034

          1. 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`.

          1. Issue Type

      Bug Report

          1. Component Name

      s3_bucket

          1. Ansible Version

      ```console (paste below)
      $ 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
      ```

          1. Collection Versions

      ```console (paste below)
      $ ansible-galaxy collection list

      amazon.aws 7.4.0
      ```

          1. AWS SDK versions

      ```console (paste below)

      $ pip show boto boto3 botocore

      Name: boto3
      Version: 1.34.75

      Name: botocore
      Version: 1.34.75
      ```

          1. Configuration

      ```console (paste below)
      $ ansible-config dump --only-changed

      ```

          1. OS / Environment

      No response

          1. Steps to Reproduce

      <!--- Paste example playbooks or commands between quotes below -->
      ```yaml (paste below)

      ```

          1. Expected Results

      object-lock-configuration can be set via this module

          1. Actual Results

      ```console (paste below)

      ```

          1. Code of Conduct
      • [X] I agree to follow the Ansible Code of Conduct

            mandkulk@redhat.com Mandar Kulkarni
            jrouleau Jill Rouleau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: