CIDR map
akamai_gtm_cidrmap
Get details about a given domain's CIDR map.
data "akamai_gtm_cidrmap" "my_gtm_cidrmap" {
domain = "my_gtm_cidrmap.com.akadns.net"
map_name = "my gtm cidrmap"
}
Changes to Outputs:
+ my_gtm_cidrmap = {
+ assignments = [
+ {
+ blocks = [
+ "1.1.1.1/1",
]
+ datacenter_id = 1234
+ nickname = "Sample CIDR"
},
]
+ default_datacenter = {
+ datacenter_id = 2345
+ nickname = "All Other CIDR Blocks"
}
+ domain = "my_gtm_cidrmap.com.akadns.net"
+ id = "gtm_cidrmap"
+ links = [
+ {
+ href = "https://akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net/config-gtm/v1/domains/my_gtm_cidrmap.com/cidr-maps/my%20gtm%20cidrmap"
+ rel = "self"
},
]
+ map_name = "my gtm cidrmap"
}
Arguments
Pass both a domain and a map name in the data block.
Argument | Required | Description |
---|---|---|
domain | ✔️ | A GTM domain name. |
map_name | ✔️ | Your GTM domain's CIDR map name. |
Attributes
Returned are high-level details about the given domain's CIDR map.
Attribute | Description |
---|---|
assignments | Details about the given domain's CIDR maps. Contains:
|
default_datacenter | The ID for the default data center in the given domain. Contains:
|
domain | The given domain's name. |
id | The data source run ID. |
links | The direct URL to the given domain. Contains:
|
Updated 7 months ago