Open ml-justinhewitt opened 1 year ago
I have found out why the data lake storage account IP rules fail when I try to use both UK South and UK West as firewall IP ranges. It's because storage accounts have a limit of 200 firewall IP rules and UK South and UK West combined have over 200 IP ranges:
AzureCloud.uksouth and AzureCloud.ukwest merged using https://iptoolsonline.net/ to produce a list with fewer than 200 entries
Is there an existing issue for this?
Community Note
Version of the module you are using
v0.0.5
Rover Version
No response
Terraform Version
No response
AzureRM Provider Version
No response
Affected Resource(s)/Data Source(s)
stsga3tmiareporting
Terraform Configuration Files
Expected Behaviour
All the ip_rules for both uksouth and ukwest should be added
Actual Behaviour
If both uksouth and ukwest ip ranges are added the pipeline fails with error similar to:
Error: "network_rules.0.ip_rules.56" must start with IPV4 address and/or slash, number of bits (0-30) as prefix. Example: 23.45.1.0/30. │ │ with module.caf.module.storage_accounts["datalake1"].azurerm_storage_account.stg, │ on .terraform/modules/caf/modules/storage_account/storage_account.tf line 20, in resource "azurerm_storage_account" "stg": │ 20: resource "azurerm_storage_account" "stg" { │ ╵
Steps to Reproduce
No response
Important Factoids
No response
References
No response