IP Geo
akamai_appsec_ip_geo
Get details about your IP/Geo settings for your network or client lists.
data "akamai_appsec_ip_geo" "my_ip_geo_list" {
  config_id          = 12345
  security_policy_id = "abc1_234567"
}
output "my_ip_geo_list" {
  value = data.akamai_appsec_ip_geo.my_ip_geo_list
}
Changes to Outputs:
  + my_ip_geo_list = {
      + asn_network_lists          = []
      + config_id                  = 12345
      + exception_ip_network_lists = []
      + geo_network_lists          = [
          + "456_GEOLIST",
        ]
      + id                         = "12345"
      + ip_network_lists           = [
          + "123_IPLIST",
        ]
      + mode                       = "block"
      + output_text                = <<-EOT
            +--------------------+
            | IP/Geo Firewall    |
            +--------------------+
            | BLOCK              |
            +--------------------+
            | blockSpecificIPGeo |
            +--------------------+
        EOT
      + security_policy_id         = "abc1_234567"
      + ukraine_geo_control_action = "none"
    }
Arguments
Pass your security configuration and policy IDs to get details about your lists.
| Argument | Required | Description | 
|---|---|---|
| config_id | ✔️ | Your security configuration ID. | 
| security_policy_id | ✔️ | Your security policy ID. | 
Attributes
Returned are details about your available network lists by type.
| Attribute | Description | 
|---|---|
| asn_network_lists | A list of available ASN network or client lists. | 
| config_id | Your security configuration's ID. | 
| exception_ip_network_lists | The network or client lists allowed through the firewall regardless of the values assigned to mode,geo_network_lists, andip_network_lists. | 
| geo_network_lists | A list of available Geo network or client lists. | 
| ip_network_lists | A list of available IP network or client lists. | 
| mode | The IP/Geo firewall actions. Possible values are: 
 | 
| output-text | A table representation of your IP/Geo lists' details. | 
| security_policy_id | Your security policy ID. | 
| ukraine_geo_control_action | The action settings for Ukraine Geo control. Possible values are: 
 | 
Updated 12 months ago
