fix 61907 - auto_attach yes option not honored in ec2_transit_gateway (#61993)

* fix 61907 - auto_attach yes option not honored in ec2_transit_gateway

* add changelog fragment
pull/63762/head
Bob Boldin 5 years ago committed by John R Barker
parent f0cadb9843
commit 40975cd436

@ -0,0 +1,2 @@
bugfixes:
- ec2_transit_gateway - fixed issue where auto_attach set to yes was not being honored (https://github.com/ansible/ansible/issues/61907)

@ -367,7 +367,7 @@ class AnsibleEc2Tgw(object):
if self._module.params.get('asn'):
options['AmazonSideAsn'] = self._module.params.get('asn')
options['AutoAcceptSharedAttachments'] = self.enable_option_flag(self._module.params.get('auto_accept'))
options['AutoAcceptSharedAttachments'] = self.enable_option_flag(self._module.params.get('auto_attach'))
options['DefaultRouteTableAssociation'] = self.enable_option_flag(self._module.params.get('auto_associate'))
options['DefaultRouteTablePropagation'] = self.enable_option_flag(self._module.params.get('auto_propagate'))
options['VpnEcmpSupport'] = self.enable_option_flag(self._module.params.get('vpn_ecmp_support'))

Loading…
Cancel
Save