azure_rm_virtualnetworkgateway >> GatewaySubnet
Hi,
In azure_rm_virtualnetworkgateway module, subnet parameter is not used. Could you use subnet parameter during the subnet reference call ?
@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?
@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!
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
@MyronFanQiu Do you have any update for this issue?
@MyronFanQiu Any update for this issue? Please share, Thank you!
@MyronFanQiu How is this problem handled? Can you update the status for the feature? Thank you very much!
@MyronFanQiu Any update?
@mybayern1974 Would you please take a look this issue? Thank you very much!
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!
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 Thanks for your update, I will communicate with community the author and to get the designed purpose for this parameter. Thank you very much!
@haiyuazhang @gavinfish Would you please get the designed purpose for this parameter. The subnet only support default value "GatewaySubnet". Thank you very much!
@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!