[aws] ALB/NLB support SubnetMappings in AWS create LB call (#42060)
parent
fbac32c5d0
commit
73133d7708
|
@ -251,6 +251,8 @@ class ApplicationLoadBalancer(ElasticLoadBalancerV2):
|
||||||
# Other parameters
|
# Other parameters
|
||||||
if self.subnets is not None:
|
if self.subnets is not None:
|
||||||
params['Subnets'] = self.subnets
|
params['Subnets'] = self.subnets
|
||||||
|
if self.subnet_mappings is not None:
|
||||||
|
params['SubnetMappings'] = self.subnet_mappings
|
||||||
if self.security_groups is not None:
|
if self.security_groups is not None:
|
||||||
params['SecurityGroups'] = self.security_groups
|
params['SecurityGroups'] = self.security_groups
|
||||||
params['Scheme'] = self.scheme
|
params['Scheme'] = self.scheme
|
||||||
|
|
Loading…
Reference in New Issue