Added description to single net interface (#51602)

* Added description to single net interface

* ec2_instance single iface description changelog

(cherry picked from commit b8790abcbe)
pull/51774/head
Andrea Tartaglia 6 years ago committed by Toshio Kuratomi
parent 483aa64216
commit d064534df6

@ -0,0 +1,2 @@
bugfixes:
- ec2_instance - Correctly adds description when adding a single ENI to the instance

@ -860,6 +860,8 @@ def build_network_spec(params, ec2=None):
ec2=ec2 ec2=ec2
) )
spec['Groups'] = [g['GroupId'] for g in groups] spec['Groups'] = [g['GroupId'] for g in groups]
if network.get('description') is not None:
spec['Description'] = network['description']
# TODO more special snowflake network things # TODO more special snowflake network things
return [spec] return [spec]

Loading…
Cancel
Save