ansible-collections / community.aws

Ansible Collection for Community AWS
GNU General Public License v3.0
189 stars 398 forks source link

Create module for managing Amazon Data Lifecycle Manager policies #1245

Open jsalatiel opened 2 years ago

jsalatiel commented 2 years ago

Summary

Would it be possible to create a module to manage Amazon Data Lifecycle Manager policies?

Issue Type

Feature Idea

Component Name

ec2_dlm

Additional Information

   - name: Create data lifecyle policy
      ec2_dlm:
        state: present
        tags: '{{ item.tags }}'
        region: '{{ region }}'
        name: backupByTag
        schedule: */12
        type: ebs_snapshot
        target_type: volume
        target_tags:
          backup: true

Code of Conduct

ansibullbot commented 2 years ago

Files identified in the description: None

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 2 years ago

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 2 years ago

cc @garethr @jillr @markuman @s-hertel @tremble @wilvk click here for bot help

tremble commented 2 years ago

Hi @jsalatiel,

Thanks for taking the time to open this issue. This sounds like a good module to add to the collection. Most of our modules are written by community members, who tend to target modules that meet their needs, so the fastest way to get a module added is by writing the module yourself and opening a PR. More information can be found in our documentation: https://github.com/ansible-collections/amazon.aws/blob/main/docs/docsite/rst/dev_guidelines.rst

If you're a Red Hat Ansible Automation Platform customer, I'd recommend also opening an RFE through the Customer Portal.

jsalatiel commented 2 years ago

Unfortunately I can not do any of those. Should I just close this?

tremble commented 2 years ago

Feel free to leave it open, if enough other people chime in that they're interested in the feature than someone might pick it up. However, I ask that you understand that there are no guarantees about if/when this feature would be added.

jsalatiel commented 2 years ago

Understood. Thanks!

flowerysong commented 2 years ago

I wrote one a while back (https://github.com/flowerysong/ansible-flowerysong.melange/blob/main/plugins/modules/aws_data_lifecycle_manager.py) but have never had the time to work on submitting it.

ansibullbot commented 2 years ago

Files identified in the description: None

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help