From f01be6617dc29d0c19fc001c1e3a6139bdef9a42 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Wed, 25 May 2022 13:29:01 +0200 Subject: [PATCH] ec2_lc - remove unused associate_public_ip_address option --- .../1158-ec2_lc-remove-associate_public_ip_address.yml | 2 ++ plugins/modules/ec2_lc.py | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 changelogs/fragments/1158-ec2_lc-remove-associate_public_ip_address.yml diff --git a/changelogs/fragments/1158-ec2_lc-remove-associate_public_ip_address.yml b/changelogs/fragments/1158-ec2_lc-remove-associate_public_ip_address.yml new file mode 100644 index 00000000000..1854f7ea191 --- /dev/null +++ b/changelogs/fragments/1158-ec2_lc-remove-associate_public_ip_address.yml @@ -0,0 +1,2 @@ +removed_features: +- ec2_lc - the ``associate_public_ip_address`` option has been removed. It has always been ignored by the module (https://github.com/ansible-collections/community.aws/pull/1158). diff --git a/plugins/modules/ec2_lc.py b/plugins/modules/ec2_lc.py index de3a7a5443f..4b383f7279c 100644 --- a/plugins/modules/ec2_lc.py +++ b/plugins/modules/ec2_lc.py @@ -180,10 +180,6 @@ - When not set AWS will default to C(default). type: str choices: ['default', 'dedicated'] - associate_public_ip_address: - description: - - The I(associate_public_ip_address) option does nothing and will be removed after 2022-06-01 - type: bool extends_documentation_fragment: - amazon.aws.aws @@ -668,7 +664,6 @@ def main(): ramdisk_id=dict(), instance_profile_name=dict(), ebs_optimized=dict(default=False, type='bool'), - associate_public_ip_address=dict(type='bool', removed_at_date='2022-06-01', removed_from_collection='community.aws'), instance_monitoring=dict(default=False, type='bool'), assign_public_ip=dict(type='bool'), classic_link_vpc_security_groups=dict(type='list', elements='str'),