1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[aws] ALB/NLB support SubnetMappings in AWS create LB call (#42060)

This commit is contained in:
Brian Lamar 2018-10-04 16:53:32 -04:00 committed by Ryan Brown
parent fbac32c5d0
commit 73133d7708

View file

@ -251,6 +251,8 @@ class ApplicationLoadBalancer(ElasticLoadBalancerV2):
# Other parameters
if self.subnets is not None:
params['Subnets'] = self.subnets
if self.subnet_mappings is not None:
params['SubnetMappings'] = self.subnet_mappings
if self.security_groups is not None:
params['SecurityGroups'] = self.security_groups
params['Scheme'] = self.scheme