diff --git a/changelogs/fragments/11069-deprecate-spotinst.yml b/changelogs/fragments/11069-deprecate-spotinst.yml new file mode 100644 index 0000000000..b4e1a30646 --- /dev/null +++ b/changelogs/fragments/11069-deprecate-spotinst.yml @@ -0,0 +1,2 @@ +deprecated_features: + - spotinst_aws_elastigroup - module relies on Python package supporting Python 2.7 only; the module will be removed from community.general 13.0.0 (https://github.com/ansible-collections/community.general/pull/11069). diff --git a/meta/runtime.yml b/meta/runtime.yml index c41d53465b..3fd7b62ff6 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1033,6 +1033,10 @@ plugin_routing: tombstone: removal_version: 3.0.0 warning_text: Use community.general.smartos_image_info instead. + spotinst_aws_elastigroup: + deprecation: + removal_version: 13.0.0 + warning_text: Module relies on unsupported Python package. Use the module spot.cloud_modules.aws_elastigroup instead. stackdriver: tombstone: removal_version: 9.0.0 diff --git a/plugins/modules/spotinst_aws_elastigroup.py b/plugins/modules/spotinst_aws_elastigroup.py index e50f4d016d..9931af570a 100644 --- a/plugins/modules/spotinst_aws_elastigroup.py +++ b/plugins/modules/spotinst_aws_elastigroup.py @@ -14,6 +14,10 @@ description: location - C($HOME/.spotinst/credentials). The credentials file must contain a row that looks like this C(token = ). - Full documentation available at U(https://help.spotinst.com/hc/en-us/articles/115003530285-Ansible-). +deprecated: + removed_in: 13.0.0 + why: Module relies on unsupported Python package. + alternative: Use the module M(spot.cloud_modules.aws_elastigroup) instead. requirements: - spotinst_sdk >= 1.0.38 extends_documentation_fragment: