Remove 'network-interface' for tag_specifications (#53398)

* Remove 'network-interface' for tag_specifications

https://github.com/aws/aws-cli/issues/2865

* changelog
This commit is contained in:
claudioiuliano 2019-08-27 01:37:00 +02:00 committed by Sloane Hertel
parent 954416932a
commit ab559c4629
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- ec2_launch_template - Only 'volume' and 'instance' are valid resource types for tag specifications.

View file

@ -382,7 +382,7 @@ def params_to_launch_data(module, template_params):
in template_params['tags'].items() in template_params['tags'].items()
] ]
} }
for r_type in ('instance', 'network-interface', 'volume') for r_type in ('instance', 'volume')
] ]
del template_params['tags'] del template_params['tags']
if module.params.get('iam_instance_profile'): if module.params.get('iam_instance_profile'):