diff --git a/changelogs/fragments/7901-consul-acl-deprecation.yaml b/changelogs/fragments/7901-consul-acl-deprecation.yaml new file mode 100644 index 0000000000..9480b04ce9 --- /dev/null +++ b/changelogs/fragments/7901-consul-acl-deprecation.yaml @@ -0,0 +1,3 @@ +deprecated_features: + - "consul_acl - the module has been deprecated and will be removed in community.general 10.0.0. ``consul_token`` and ``consul_policy`` + can be used instead (https://github.com/ansible-collections/community.general/pull/7901)." \ No newline at end of file diff --git a/meta/runtime.yml b/meta/runtime.yml index 5710e0abe0..4fe80ca257 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -30,6 +30,10 @@ plugin_routing: nios_next_network: redirect: infoblox.nios_modules.nios_next_network modules: + consul_acl: + deprecation: + removal_version: 10.0.0 + warning_text: Use community.general.consul_token and/or community.general.consul_policy instead. rax_cbs_attachments: deprecation: removal_version: 9.0.0 diff --git a/plugins/modules/consul_acl.py b/plugins/modules/consul_acl.py index 7be34a6463..4617090fd3 100644 --- a/plugins/modules/consul_acl.py +++ b/plugins/modules/consul_acl.py @@ -26,6 +26,10 @@ attributes: support: none diff_mode: support: none +deprecated: + removed_in: 10.0.0 + why: The legacy ACL system was removed from Consul. + alternative: Use M(community.general.consul_token) and/or M(community.general.consul_policy) instead. options: mgmt_token: description: