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:
parent
fbac32c5d0
commit
73133d7708
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue