Skip to content

Commit

Permalink
ec2_key - remove unused wait and wait_timeout parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed May 24, 2022
1 parent b002515 commit c4b90e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/64230-ec2_key-remove-unused.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
removed_features:
- ec2_key - the ``wait`` option had no effect, was deprecated in release 1.0.0, and has now been removed (https://github.com/ansible/ansible/pull/64230).
- ec2_key - the ``wait_timeout`` option had no effect, was deprecated in release 1.0.0, and has now been removed (https://github.com/ansible/ansible/pull/64230).
11 changes: 0 additions & 11 deletions plugins/modules/ec2_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@
choices: [ present, absent ]
default: 'present'
type: str
wait:
description:
- This option has no effect since version 2.5 and will be removed after 2022-06-01.
type: bool
wait_timeout:
description:
- This option has no effect since version 2.5 and will be removed after 2022-06-01.
type: int
required: false
tags:
description:
- A dictionary of tags to set on the key pair.
Expand Down Expand Up @@ -325,8 +316,6 @@ def main():
tags=dict(type='dict'),
purge_tags=dict(type='bool', default=False),
key_type=dict(type='str', choices=['rsa', 'ed25519']),
wait=dict(type='bool', removed_at_date='2022-06-01', removed_from_collection='amazon.aws'),
wait_timeout=dict(type='int', removed_at_date='2022-06-01', removed_from_collection='amazon.aws')
)

module = AnsibleAWSModule(
Expand Down

0 comments on commit c4b90e2

Please sign in to comment.