How to configure destination port ranges for Azure resource Manager via Terraform
Use Case
The customer has a very specific set of port ranges that need to be configured for the Azurerm provider, including ranges and single port values.
Procedure
When specifying a list of ports or port ranges the argument that needs to be used is:
destination_port_ranges =
The port values must be enclosed within [], “”, and comma seperated. Port ranges must include a hyphen. The following example shows the proper syntax for single port values and ranges:
destination_port_ranges = ["30315-30317", "30340-30342", "3307"]
If only a single port or port range is required the argument that needs to be used is:
destination_port_range =
The syntax for the single port value or range will be the same as the previous example:
destination_port_range = ["30315-30317"]
Additional Information
Additional information regarding the Azure resource manager provider, including additional arguments, can be seen here