-
-
Notifications
You must be signed in to change notification settings - Fork 537
Open
Labels
automationAutomation functionality using AnsibleAutomation functionality using AnsibleenhancementImprovement of the current functionalityImprovement of the current functionality
Description
Problem
The current bucket management capabilities are basic:
aws_s3_bucket_create: true # if 'cloud_provider=aws'
aws_s3_bucket_name: "{{ patroni_cluster_name }}-backup" # Name of the S3 bucket. Bucket naming rules: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
aws_s3_bucket_region: "{{ server_location }}" # The AWS region to use.
aws_s3_bucket_object_lock_enabled: false # Whether S3 Object Lock to be enabled.
aws_s3_bucket_encryption: "AES256" # Describes the default server-side encryption to apply to new objects in the bucket. Choices: "AES256", "aws:kms"
aws_s3_bucket_block_public_acls: true # Sets BlockPublicAcls value.
aws_s3_bucket_ignore_public_acls: true # Sets IgnorePublicAcls value.
aws_s3_bucket_absent: false # Allow to delete S3 bucket when deleting a cluster servers using the 'state=absent' variable.Description
Add the ability to specify additional options such as:
- accelerate_enabled
- object_lock_default_retention
- object_ownership
- policy
- profile
- versioning
Importance
nice to have
Proposed implementation
Doc: https://docs.ansible.com/ansible/latest/collections/amazon/aws/s3_bucket_module.html
Metadata
Metadata
Assignees
Labels
automationAutomation functionality using AnsibleAutomation functionality using AnsibleenhancementImprovement of the current functionalityImprovement of the current functionality