Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "skip_matching" preference in autoscaling_instance_refresh #2016

Open
1 task done
gtie opened this issue Dec 6, 2023 · 0 comments
Open
1 task done

Comments

@gtie
Copy link

gtie commented Dec 6, 2023

Summary

AWS enables users to turn on a "skip_matching" preference when starting an Instance Refresh. The Ansible module OTOH does not expose that preference.

Issue Type

Feature Idea

Component Name

autoscaling_instance_refresh

Additional Information

Once implemented the following should work:

    - name: START INSTANCE REFRESH
      community.aws.ec2_asg_instance_refresh:
        name: "{{ asg_name }}"
        state: started
        preferences:
          skip_matching: true

Looking at the code of the current Ansible module, the only real change is to add it to the list of allowed preferences and document it. The plumbing is already there to support passing that preference to the AWS API.

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant