ansible-collections / community.aws

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

Add launchTemplate support to batch compute environment creation #1347

Open FrBonnardel opened 2 years ago

FrBonnardel commented 2 years ago

Summary

Add launchTemplate support to batch compute environment creation

Issue Type

Feature Idea

Component Name

batch compute environment https://github.com/ansible-collections/community.aws/blob/main/plugins/modules/batch_compute_environment.py

Additional Information


  launchTemplate:
    description:
      - launch template to use to deploy the compute environment. arn 
        launchTemplate:{"launchTemplateName": "mytemplate_lt","version": "$Default"}

In creation:
    compute_resources_param_list = ('minv_cpus', 'maxv_cpus', 'desiredv_cpus', 'instance_types', 'image_id', 'subnets',
                                    'security_group_ids', 'ec2_key_pair', 'instance_role', 'tags', 'bid_percentage',
                                    'spot_iam_fleet_role', 'launchTemplate')

in Main:
        launchTemplate=dict(type='dict'),

Code of Conduct

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 @jillr @jonmer85 @markuman @s-hertel @tremble click here for bot help