community.aws
community.aws copied to clipboard
Allow to provide instance requirements options to ASG module
... to let AWS pick instance types based on machine specs.
SUMMARY
Just allows to pass through more arguments in the mixed_instances_policy
section, namely the one for specifying instance requirements (instead of providing specific instance types).
ISSUE TYPE
- Feature Pull Request
COMPONENT NAME
ec2_asg
PR is ready to be merged now (from my side).
cc @garethr @jillr @markuman @s-hertel @tremble click here for bot help
Build succeeded.
- ansible-galaxy-importer : FAILURE in 4m 32s (non-voting)
- build-ansible-collection : SUCCESS in 3m 39s
- ansible-test-sanity-docker-devel : SUCCESS in 13m 23s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 19s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 27s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 12m 11s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 11m 09s
- ansible-test-units-community-aws-python38 : SUCCESS in 8m 50s
- ansible-test-splitter : SUCCESS in 3m 43s
- ansible-test-cloud-integration-aws-py38_0 : SKIPPED
- ansible-test-cloud-integration-aws-py38_1 : SKIPPED
- ansible-test-cloud-integration-aws-py38_2 : SKIPPED
- ansible-test-cloud-integration-aws-py38_3 : SKIPPED
- ansible-test-cloud-integration-aws-py38_4 : SKIPPED
- ansible-test-cloud-integration-aws-py38_5 : SKIPPED
Latest change is still green with recent CI. So I guess this can be merged now?
Merge Failed.
This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
There was an error handling pipeline event 4d0d2b0a-3461-4c22-910a-93925224aff5.
Build failed.
- ansible-galaxy-importer : FAILURE in 4m 15s (non-voting)
- build-ansible-collection : SUCCESS in 3m 21s
- ansible-test-sanity-docker-devel : SUCCESS in 10m 41s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 34s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 17s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 43s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 10m 59s
- ansible-test-units-community-aws-python38 : SUCCESS in 9m 36s
- ansible-test-splitter : SUCCESS in 3m 03s
- integration-community.aws-1 : TIMED_OUT in 1h 00m 43s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Looks like CI/bots got confused by the rebase?
recheck
Build failed.
- ansible-galaxy-importer : FAILURE in 5m 10s (non-voting)
- build-ansible-collection : SUCCESS in 2m 57s
- ansible-test-sanity-docker-devel : SUCCESS in 10m 35s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 49s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 17m 32s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 9m 49s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 11m 04s
- ansible-test-units-community-aws-python38 : SUCCESS in 9m 25s
- ansible-test-splitter : SUCCESS in 2m 42s
- integration-community.aws-1 : TIMED_OUT in 1h 00m 52s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
recheck
Build failed.
- ansible-galaxy-importer : FAILURE in 4m 49s (non-voting)
- build-ansible-collection : SUCCESS in 5m 18s
- ansible-test-sanity-docker-devel : FAILURE in 12m 10s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 10m 04s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 12m 26s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 11m 00s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 10m 48s
- ansible-test-units-community-aws-python38 : SUCCESS in 7m 01s
- ansible-test-splitter : SUCCESS in 2m 38s
- integration-community.aws-1 : TIMED_OUT in 1h 01m 00s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Hi @stefanhorning, thank you for working on this!
Could you rebase your branch with main
https://github.com/ansible-collections/community.aws?
With recent merge of https://github.com/ansible-collections/community.aws/pull/1036, integration tests TIMED_OUT issue should be resolved now :)
As this would help us mark all issues related to ec2_asg
here https://github.com/ansible-collections/community.aws/issues/895
rebased on latest main
as requested, also squashed irrelevant commits.
Build failed.
- ansible-galaxy-importer : FAILURE in 6m 02s (non-voting)
- build-ansible-collection : SUCCESS in 4m 51s
- ansible-test-sanity-docker-devel : FAILURE in 12m 05s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 12m 56s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 47s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 12m 29s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 11m 45s
- ansible-test-units-community-aws-python38 : SUCCESS in 8m 54s
- ansible-test-splitter : SUCCESS in 6m 24s
- integration-community.aws-1 : FAILURE in 8m 07s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Tests failed to create a VPC due to AWS limits (error unrelatd to my changes).
recheck
Build failed.
- ansible-galaxy-importer : FAILURE in 5m 06s (non-voting)
- build-ansible-collection : SUCCESS in 5m 39s
- ansible-test-sanity-docker-devel : FAILURE in 11m 33s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 16s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 14m 52s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 12m 11s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 12m 05s
- ansible-test-units-community-aws-python38 : SUCCESS in 8m 39s
- ansible-test-splitter : SUCCESS in 4m 16s
- integration-community.aws-1 : FAILURE in 32m 53s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
recheck
Build failed.
- ansible-galaxy-importer : FAILURE in 6m 04s (non-voting)
- build-ansible-collection : SUCCESS in 6m 19s
- ansible-test-sanity-docker-devel : FAILURE in 12m 57s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 36s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 10s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 13m 10s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 13m 16s
- ansible-test-units-community-aws-python38 : SUCCESS in 9m 15s
- ansible-test-splitter : SUCCESS in 4m 18s
- integration-community.aws-1 : FAILURE in 34m 19s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Thank you @stefanhorning, minor changes that are causing CI failure
https://github.com/ansible-collections/community.aws/pull/831/files#diff-1a33a4359f835bab9c605061886c5d1bfb6d0d2eb377f1fbf8f19720360e476dR488-R490 (create_update_delete.yml Lines 488-490) should be something like
"output.mixed_instances_policy.launch_template.overrides | length == 2"
"output.mixed_instances_policy.launch_template.overrides[0].instance_type == 't3.micro'"
"output.mixed_instances_policy.launch_template.overrides[1].instance_type == 't2.nano'"
Build failed.
- ansible-galaxy-importer : FAILURE in 4m 09s (non-voting)
- build-ansible-collection : SUCCESS in 4m 14s
- ansible-test-sanity-docker-devel : FAILURE in 10m 55s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 10m 34s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 04s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 43s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 9m 45s
- ansible-test-units-community-aws-python38 : SUCCESS in 7m 04s
- ansible-test-splitter : SUCCESS in 3m 15s
- integration-community.aws-1 : FAILURE in 32m 39s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 4m 39s (non-voting)
- build-ansible-collection : SUCCESS in 3m 59s
- ansible-test-sanity-docker-devel : FAILURE in 9m 49s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 10m 34s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 14m 47s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 22s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 11m 18s
- ansible-test-units-community-aws-python38 : SUCCESS in 6m 50s
- ansible-test-splitter : SUCCESS in 3m 19s
- integration-community.aws-1 : FAILURE in 34m 52s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 5m 12s (non-voting)
- build-ansible-collection : SUCCESS in 4m 03s
- ansible-test-sanity-docker-devel : FAILURE in 11m 35s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 20s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 14m 24s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 13m 48s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 11m 55s
- ansible-test-units-community-aws-python38 : SUCCESS in 7m 53s
- ansible-test-splitter : SUCCESS in 3m 32s
- integration-community.aws-1 : FAILURE in 33m 59s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 5m 49s (non-voting)
- build-ansible-collection : SUCCESS in 4m 24s
- ansible-test-sanity-docker-devel : FAILURE in 12m 21s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 17s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 14m 15s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 11m 21s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 12m 18s
- ansible-test-units-community-aws-python38 : SUCCESS in 8m 53s
- ansible-test-splitter : SUCCESS in 3m 32s
- integration-community.aws-1 : FAILURE in 34m 21s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 4m 30s (non-voting)
- build-ansible-collection : SUCCESS in 4m 39s
- ansible-test-sanity-docker-devel : FAILURE in 10m 15s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 10m 06s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 12m 19s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 37s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 10m 32s
- ansible-test-units-community-aws-python38 : SUCCESS in 6m 58s
- ansible-test-splitter : SUCCESS in 3m 04s
- integration-community.aws-1 : FAILURE in 32m 59s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 5m 07s (non-voting)
- build-ansible-collection : SUCCESS in 5m 06s
- ansible-test-sanity-docker-devel : FAILURE in 15m 34s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 07s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 56s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 13m 40s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 14m 05s
- ansible-test-units-community-aws-python38 : SUCCESS in 9m 24s
- ansible-test-splitter : SUCCESS in 4m 28s
- integration-community.aws-1 : FAILURE in 37m 01s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 6m 18s (non-voting)
- build-ansible-collection : SUCCESS in 4m 37s
- ansible-test-sanity-docker-devel : FAILURE in 13m 25s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 12m 35s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 16m 53s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 40s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 11m 06s
- ansible-test-units-community-aws-python38 : SUCCESS in 8m 35s
- ansible-test-splitter : SUCCESS in 3m 10s
- integration-community.aws-1 : FAILURE in 34m 49s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 4m 39s (non-voting)
- build-ansible-collection : SUCCESS in 3m 58s
- ansible-test-sanity-docker-devel : FAILURE in 13m 15s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 12m 56s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 07s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 11m 09s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 15m 46s
- ansible-test-units-community-aws-python38 : SUCCESS in 9m 41s
- ansible-test-splitter : SUCCESS in 3m 11s
- integration-community.aws-1 : FAILURE in 32m 50s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED
Build failed.
- ansible-galaxy-importer : FAILURE in 4m 49s (non-voting)
- build-ansible-collection : SUCCESS in 4m 07s
- ansible-test-sanity-docker-devel : FAILURE in 13m 10s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 12m 08s
- ansible-test-sanity-docker-stable-2.9 : SUCCESS in 13m 25s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 13m 01s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 13m 00s
- ansible-test-units-community-aws-python38 : SUCCESS in 8m 01s
- ansible-test-splitter : SUCCESS in 3m 04s
- integration-community.aws-1 : FAILURE in 35m 10s
- integration-community.aws-2 : SKIPPED
- integration-community.aws-3 : SKIPPED
- integration-community.aws-4 : SKIPPED
- integration-community.aws-5 : SKIPPED
- integration-community.aws-6 : SKIPPED
- integration-community.aws-7 : SKIPPED
- integration-community.aws-8 : SKIPPED
- integration-community.aws-9 : SKIPPED
- integration-community.aws-10 : SKIPPED
- integration-community.aws-11 : SKIPPED
- integration-community.aws-12 : SKIPPED
- integration-community.aws-13 : SKIPPED