Repository navigation
Formally start the ec2 deprecation process - #424
Conversation
|
This PR makes me so happy 😁 |
jillr
left a comment
There was a problem hiding this comment.
Everywhere we say "in favor of ec2_instance" we should say "ec2_instance and ec2_spot_instance", since that's been the sticking point
|
recheck |
The reason I didn't mention ec2_spot_instance in the changes themselves was that IMO it's worth flagging the module as "deprecated" even if ec2_spot_instance isn't ready in time for 2.0.0. We've had folks using it for "normal" ec2 instances and hitting bugs / limitations resulting in issues, IMO getting them to move to ec2_instance brings more value than delaying for spot instance support. Hence the |
|
recheck |
1 similar comment
|
recheck |
|
From IRC
|
|
recheck |
…ble-collections#424) * Fix state=get on route53 module This bug was introduced when refactoring from boto to boto3 library. This happens because the method "get_hosted_zone" only returns the DelegationSet when the DNS zone is external. Therefore this breaks when trying to get internal records. The solution is to search for getting DNS records of type ''NS'' with the same name as the hosted zone. * Update changelogs/fragments/406-route53-state-get.yml Co-authored-by: Mark Chappell <mchappel@redhat.com> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@331ada1
…ble-collections#424) * Fix state=get on route53 module This bug was introduced when refactoring from boto to boto3 library. This happens because the method "get_hosted_zone" only returns the DelegationSet when the DNS zone is external. Therefore this breaks when trying to get internal records. The solution is to search for getting DNS records of type ''NS'' with the same name as the hosted zone. * Update changelogs/fragments/406-route53-state-get.yml Co-authored-by: Mark Chappell <mchappel@redhat.com> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@331ada1
…ble-collections#424) * Fix state=get on route53 module This bug was introduced when refactoring from boto to boto3 library. This happens because the method "get_hosted_zone" only returns the DelegationSet when the DNS zone is external. Therefore this breaks when trying to get internal records. The solution is to search for getting DNS records of type ''NS'' with the same name as the hosted zone. * Update changelogs/fragments/406-route53-state-get.yml Co-authored-by: Mark Chappell <mchappel@redhat.com> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@331ada1
…ble-collections#424) * Fix state=get on route53 module This bug was introduced when refactoring from boto to boto3 library. This happens because the method "get_hosted_zone" only returns the DelegationSet when the DNS zone is external. Therefore this breaks when trying to get internal records. The solution is to search for getting DNS records of type ''NS'' with the same name as the hosted zone. * Update changelogs/fragments/406-route53-state-get.yml Co-authored-by: Mark Chappell <mchappel@redhat.com> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@331ada1
…ble-collections#424) * Fix state=get on route53 module This bug was introduced when refactoring from boto to boto3 library. This happens because the method "get_hosted_zone" only returns the DelegationSet when the DNS zone is external. Therefore this breaks when trying to get internal records. The solution is to search for getting DNS records of type ''NS'' with the same name as the hosted zone. * Update changelogs/fragments/406-route53-state-get.yml Co-authored-by: Mark Chappell <mchappel@redhat.com>
…ble-collections#424) * Fix state=get on route53 module This bug was introduced when refactoring from boto to boto3 library. This happens because the method "get_hosted_zone" only returns the DelegationSet when the DNS zone is external. Therefore this breaks when trying to get internal records. The solution is to search for getting DNS records of type ''NS'' with the same name as the hosted zone. * Update changelogs/fragments/406-route53-state-get.yml Co-authored-by: Mark Chappell <mchappel@redhat.com>
…ble-collections#424) * Fix state=get on route53 module This bug was introduced when refactoring from boto to boto3 library. This happens because the method "get_hosted_zone" only returns the DelegationSet when the DNS zone is external. Therefore this breaks when trying to get internal records. The solution is to search for getting DNS records of type ''NS'' with the same name as the hosted zone. * Update changelogs/fragments/406-route53-state-get.yml Co-authored-by: Mark Chappell <mchappel@redhat.com>
Bumps the uv-deps group with 2 updates: tox-uv-bare and tox-ansible. Updates tox-uv-bare from 1.36.0 to 1.37.7 Release notes Sourced from tox-uv-bare's releases. 1.37.7 Bug fixes With uv_resolution and dependency_groups both set, deps lines are now kept as written when combined with the groups, so a -r/-c file, an option or a comment no longer crashes tox with an invalid requirement error. Environments with an older dependency cache are recreated once on upgrade (#424) by @qodelicious and @gaborbernat. package = uv and package = uv-editable now install the project from package_root (setupdir) instead of the tox root (#425) by @qodelicious and @gaborbernat. 🐍 PyPI: tox-uv PyPI: tox-uv-bare 📜 Full Changelog 1.37.6 Bug fixes A package dependency that names a uv workspace member is now matched against tool.uv.sources by its normalized name, so Demo_Foo and demo-foo count as the same member instead of being sent to the index (#417) by @qodelicious and @gaborbernat. Point {env_site_packages_dir} at lib/python3.13t/site-packages for free-threaded environments, instead of a lib/python3.13/site-packages directory that does not exist (#416) by @qodelicious and @gaborbernat. Preserve debug and free-threaded flags when selecting Python for a tox environment. Changing either flag recreates the environment, so py313d and py313td do not reuse an interpreter with different build options (#420) by @gaborbernat. Recreate the environment when system_site_packages changes. uv venv --system-site-packages only applies while the environment is being created, so flipping the setting left the old pyvenv.cfg in place and the change had no effect (#418) by @abhishekcpp007 and @gaborbernat. New Contributors @qodelicious made their first contribution in tox-dev/tox-uv#417 @abhishekcpp007 made their first contribution in tox-dev/tox-uv#418 🐍 PyPI: tox-uv PyPI: tox-uv-bare 📜 Full Changelog 1.37.5 🐍 PyPI: tox-uv PyPI: tox-uv-bare 📜 Full Changelog 1.37.4 Bug fixes ... (truncated) Changelog Sourced from tox-uv-bare's changelog. 1.37.7 (2026-11-07) Fixed With uv_resolution and dependency_groups both set, deps lines are now kept as written when combined with the groups, so a -r/-c file, an option or a comment no longer crashes tox with an invalid requirement error. Environments with an older dependency cache are recreated once on upgrade (#424) by @qodelicious and @gaborbernat. package = uv and package = uv-editable now install the project from package_root (setupdir) instead of the tox root (#425) by @qodelicious and @gaborbernat. 1.37.6 (2026-11-06) Fixed A package dependency that names a uv workspace member is now matched against tool.uv.sources by its normalized name, so Demo_Foo and demo-foo count as the same member instead of being sent to the index (#417) by @qodelicious and @gaborbernat. Point {env_site_packages_dir} at lib/python3.13t/site-packages for free-threaded environments, instead of a lib/python3.13/site-packages directory that does not exist (#416) by @qodelicious and @gaborbernat. Preserve debug and free-threaded flags when selecting Python for a tox environment. Changing either flag recreates the environment, so py313d and py313td do not reuse an interpreter with different build options (#420) by @gaborbernat. Recreate the environment when system_site_packages changes. uv venv --system-site-packages only applies while the environment is being created, so flipping the setting left the old pyvenv.cfg in place and the change had no effect (#418) by @abhishekcpp007 and @gaborbernat. 1.37.5 (2026-11-04) 1.37.4 (2026-11-03) ... (truncated) Commits efb3999 release 1.37.7 0af7c3b 🐛 fix(runner): preserve deps syntax with dependency groups (#424) 0d3a231 🐛 fix(package): install uv packages from package_root (#425) d513c2f 🔧 build(lint): adopt simplint 0.7.1 (#427) 37a229e 🧹 ci: pin shared workflows to 6.7.2 (#426) c5624d6 🧹 ci: pin shared workflows to 6.7.1 (#423) 8244581 👷 ci: run every hook under the cooldown (#422) 3c3714f release 1.37.6 f8e900d ⚡ ci: install only the changelog hook when preparing (#421) 9530aeb 🐛 fix(venv): honor debug Python variants (#420) Additional commits viewable in compare view Updates tox-ansible from 26.9.0 to 26.11.0 Release notes Sourced from tox-ansible's releases. v26.11.0 What's Changed fix(security): update dependencies [SECURITY] by @renovate[bot] in ansible/tox-ansible#610 fix(security): clear Dependabot uv.lock advisories and CodeQL smoke checkout by @sudhirverma in ansible/tox-ansible#611 Full Changelog: ansible/tox-ansible@v26.10.0...v26.11.0 v26.10.0 What's Changed feat(impact_file): add scope-file interface for content-plugin-finder ImpactReport by @shvenkat-rh in ansible/tox-ansible#607 Full Changelog: ansible/tox-ansible@v26.9.0...v26.10.0 Commits df46f6e fix(security): clear Dependabot uv.lock advisories and CodeQL smoke checkout ... 58fd690 fix(security): update dependencies [SECURITY] (#610) 1805ac6 feat(impact_file): add scope-file interface for content-plugin-finder ImpactR... See full diff in compare view Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions Reviewed-by: Alina Buzachis Reviewed-by: Rahmanim Benny <brahmani@redhat.com>
SUMMARY
The ec2 module is based upon the deprecated
boto(notboto3/botocore) SDK and most functionality has been replaced by the ec2_instance module.Formally start the deprecation process and give it 2 major releases.
For practical purposes the ec2 module has a number of limitations (things like not supporting all regions) and we're still getting bugs filed against it for quirky behaviour that's fixed in ec2_instance. By formally starting the deprecation process we can move most folks over to ec2_instance where possible and avoid trying to support 2 modules at the same time.
The major missing feature with the ec2_instance module is spot instances. Support for spot instances is underway in #407
Should spot instance support not be available by 3.0.0 we can always extend the deprecation period.
ISSUE TYPE
COMPONENT NAME
ec2
ADDITIONAL INFORMATION