Skip to content

Commit

Permalink
ec2_lc - remove unused associate_public_ip_address option (ansible-co…
Browse files Browse the repository at this point in the history
…llections#1158)

ec2_lc - remove unused associate_public_ip_address option

SUMMARY
The associate_public_ip_address option has always been ignored by ec2_lc, remove it.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
ec2_lc
ADDITIONAL INFORMATION
See also: ansible/ansible#64230

Reviewed-by: Alina Buzachis <None>
  • Loading branch information
tremble authored May 25, 2022
1 parent d04ab42 commit da53c54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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).
5 changes: 0 additions & 5 deletions plugins/modules/ec2_lc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'),
Expand Down

0 comments on commit da53c54

Please sign in to comment.