community.aws icon indicating copy to clipboard operation
community.aws copied to clipboard

Create module for managing Amazon Data Lifecycle Manager policies

Open jsalatiel opened this issue 2 years ago • 9 comments

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

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

jsalatiel avatar Jun 20 '22 21:06 jsalatiel

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 avatar Jun 20 '22 21:06 ansibullbot

Files identified in the description:

  • [plugins/modules/ec2_lc.py](https://github.com/['ansible-collections/amazon.aws', 'ansible-collections/community.aws', 'ansible-collections/community.vmware']/blob/main/plugins/modules/ec2_lc.py)

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 avatar Jun 21 '22 06:06 ansibullbot

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

ansibullbot avatar Jun 21 '22 06:06 ansibullbot

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.

tremble avatar Jun 21 '22 08:06 tremble

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

jsalatiel avatar Jun 21 '22 08:06 jsalatiel

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.

tremble avatar Jun 21 '22 08:06 tremble

Understood. Thanks!

jsalatiel avatar Jun 21 '22 08:06 jsalatiel

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.

flowerysong avatar Jul 22 '22 23:07 flowerysong

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 avatar Jul 22 '22 23:07 ansibullbot