github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/azure/container/AVD-AZU-0041/Terraform.md (about)

     1  
     2  Limit the access to the API server to a limited IP range
     3  
     4  ```hcl
     5   resource "azurerm_kubernetes_cluster" "good_example" {
     6  	api_server_access_profile {
     7  		authorized_ip_ranges = [
     8   		"1.2.3.4/32"
     9   	]
    10  
    11  	}
    12       
    13   }
    14   
    15  ```
    16  
    17  #### Remediation Links
    18   - https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster#authorized_ip_ranges
    19