diff --git a/changelogs/fragments/1168-iam_managed_policy-fail_on_delete.yml b/changelogs/fragments/1168-iam_managed_policy-fail_on_delete.yml new file mode 100644 index 00000000000..22838847106 --- /dev/null +++ b/changelogs/fragments/1168-iam_managed_policy-fail_on_delete.yml @@ -0,0 +1,2 @@ +removed_features: +- iam_managed_policy - the unused ``fail_on_delete`` parameter has been removed (https://github.com/ansible-collections/community.aws/pull/1168) diff --git a/plugins/modules/iam_managed_policy.py b/plugins/modules/iam_managed_policy.py index 4c02054db21..3e30c4a667c 100644 --- a/plugins/modules/iam_managed_policy.py +++ b/plugins/modules/iam_managed_policy.py @@ -44,10 +44,6 @@ default: present choices: [ "present", "absent" ] type: str - fail_on_delete: - description: - - The I(fail_on_delete) option does nothing and will be removed after 2022-06-01 - type: bool author: "Dan Kozlowski (@dkhenry)" extends_documentation_fragment: @@ -345,7 +341,6 @@ def main(): policy=dict(type='json'), make_default=dict(type='bool', default=True), only_version=dict(type='bool', default=False), - fail_on_delete=dict(type='bool', removed_at_date='2022-06-01', removed_from_collection='community.aws'), state=dict(default='present', choices=['present', 'absent']), )