azure icon indicating copy to clipboard operation
azure copied to clipboard

Support for private networks in azure_rm_containerinstance

Open Christoph-Majcen opened this issue 5 years ago • 2 comments

SUMMARY

At this time the module azure_rm_containerinstance provides support for public and no ip address. However, for containers connected to a virtual network there seem to be no support.

It should be possible to provide a 'private' network type. In which case it is mandatory to provide the name of a virtual network and the name of a subnet in that particular network.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

azure_rm_containerinstance

ADDITIONAL INFORMATION

A possible example would be

azure_rm_containerinstance:
  ...
  ip_address: private
  virtual_network: virt_net_0
  subnet: subnet128
  ...

Which would be the command line equivalent:

az container create ... --ip-address "Private" --vnet "virt_net_0" --subnet "subnet128" ...

Original issue by JG127 (https://github.com/ansible/ansible/issues/71594)

Christoph-Majcen avatar Oct 16 '20 11:10 Christoph-Majcen

@Christoph-Majcen Thank you for reporting this to us. We will look into it. Thank you very much!

Fred-sun avatar Oct 26 '20 13:10 Fred-sun

Any progress for this issue please?

lingxiankong avatar Oct 03 '21 20:10 lingxiankong