mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add service endpoints when creation (#56561)
This commit is contained in:
parent
708bda06aa
commit
b2622f6c0f
1 changed files with 2 additions and 0 deletions
|
@ -313,6 +313,8 @@ class AzureRMSubnet(AzureRMModuleBase):
|
|||
subnet.network_security_group = self.network_models.NetworkSecurityGroup(id=nsg.get('id'))
|
||||
if self.route_table:
|
||||
subnet.route_table = self.network_models.RouteTable(id=self.route_table)
|
||||
if self.service_endpoints:
|
||||
subnet.service_endpoints = self.service_endpoints
|
||||
else:
|
||||
# update subnet
|
||||
self.log('Updating subnet {0}'.format(self.name))
|
||||
|
|
Loading…
Reference in a new issue