azure_preview_modules icon indicating copy to clipboard operation
azure_preview_modules copied to clipboard

azure_rm_virtualnetworkgateway >> GatewaySubnet

Open nergalex opened this issue 6 years ago • 13 comments

Hi,

In azure_rm_virtualnetworkgateway module, subnet parameter is not used. Could you use subnet parameter during the subnet reference call ?

nergalex avatar May 13 '19 21:05 nergalex

@nergalex Thanks for opening this issue! I checked the code and it seems the subnet parameter is not used for now. I try to communicate with the author and to get the designed purpose for this parameter. Besides, could you share your usage scenario about this subnet parameter?

mmyyrroonn avatar May 17 '19 03:05 mmyyrroonn

@nergalex Could you please help to reply to the usage scenarios mentioned in the comments above? Will that help solve this problem? Thank you very much!

Fred-sun avatar May 28 '19 02:05 Fred-sun

Hi, As explained here The subnet must be named 'GatewaySubnet' in order for Azure to deploy the gateway resources. You can't specify a different subnet to deploy the gateway resources to. If you don't have a subnet named 'GatewaySubnet', when you create your VPN gateway, it will fail. So I created and then used a subnet named "GatewaySubnet", it's OK.

May be could you add a note in the module documentation and delete subnet as a parameter ?

Regards

nergalex avatar May 29 '19 21:05 nergalex

@MyronFanQiu Do you have any update for this issue?

Fred-sun avatar Jun 24 '19 08:06 Fred-sun

@MyronFanQiu Any update for this issue? Please share, Thank you!

Fred-sun avatar Jul 31 '19 02:07 Fred-sun

@MyronFanQiu How is this problem handled? Can you update the status for the feature? Thank you very much!

Fred-sun avatar Aug 21 '19 07:08 Fred-sun

@MyronFanQiu Any update?

Fred-sun avatar Sep 10 '19 08:09 Fred-sun

@mybayern1974 Would you please take a look this issue? Thank you very much!

Fred-sun avatar Oct 15 '19 02:10 Fred-sun

May be could you add a note in the module documentation and delete subnet as a parameter ?

@nergalex Thanks for your contribution. It's easy to add comments, but what does it mean to add a delete subnet as an argument? 'll give a PR when I'm clear. Thank you very much!

Fred-sun avatar Dec 17 '19 03:12 Fred-sun

Hi @Fred-sun, I would say "remove subnet in parameters"... sorry for my poor english ;o) Currently in azure_rm_virtualnetworkgateway.py, subnet parameter can be set by user. Therefore the subnet MUST be named 'GatewaySubnet' in order for Azure to deploy the gateway resources. So, subnet parameter MUST not be set by user in azure_rm_virtualnetworkgateway.py

nergalex avatar Jan 02 '20 22:01 nergalex

@nergalex Thanks for your update, I will communicate with community the author and to get the designed purpose for this parameter. Thank you very much!

Fred-sun avatar Jan 03 '20 02:01 Fred-sun

@haiyuazhang @gavinfish Would you please get the designed purpose for this parameter. The subnet only support default value "GatewaySubnet". Thank you very much!

Fred-sun avatar Jan 03 '20 02:01 Fred-sun

@nergalex Thank you very much for your interest in Ansible. This repo is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/azure Please re-submit this Issue in the above repository and closed this. Thank you very much!

Fred-sun avatar May 12 '20 08:05 Fred-sun