IP Geo
akamai_appsec_ip_geo
Create, update, or delete the IP/Geo settings for your network lists. To delete your settings, run terraform destroy.
resource "akamai_appsec_ip_geo" "my_ip_geo_settings" {
  config_id                  = 12345
  security_policy_id         = "abc1_234567"
  mode                       = "allow"
  geo_network_lists          = ["12345_EMEAALLOW1", "23456_EMEAALLOW2"]
  ip_network_lists           = ["98765_IPALLOWLIST1", "87654_IPALLOWLIST1"]
  exception_ip_network_lists = ["34567_EXCEPTIONLIST1", "45678_EXCEPTIONLIST1"]
}
Arguments
Pass your config and security policy IDs along with the firewall action mode to create or update your IP/GEO settings.
| Attribute | Required | Description | 
|---|---|---|
config_id | ✔️ | Your security configuration's ID. | 
security_policy_id | ✔️ | Your security policy ID. | 
mode | ✔️ | The IP/Geo firewall actions. Possible values are:
  | 
asn_network_lists | A set of your ASN network lists. | |
exception_ip_network_lists | A list of network lists allowed through the firewall regardless of the values assigned to mode, geo_network_lists, and ip_network_lists. | |
geo_network_lists | A list of your Geo network lists. | |
ip_network_lists | A list of your IP network lists. | |
ukraine_geo_control_action | The action settings for Ukraine Geo control. Possible values are:
  | 
Attributes
There is no standard output for this resource, but setting an output method returns these attributes.
| Attribute | Description | 
|---|---|
asn_network_lists | A list of available ASN network lists. | 
config_id | Your security configuration's ID. | 
exception_ip_network_lists | The network lists allowed through the firewall regardless of the values assigned to mode, geo_network_lists, and ip_network_lists. | 
geo_network_lists | A list of available Geo network lists. | 
ip_network_lists | A list of available IP network lists. | 
mode | The IP/Geo firewall actions. Possible values are:
  | 
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
