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'),