AS map
akamai_gtm_asmap
Get details about a given domain's AS map.
data "akamai_gtm_asmap" "my_gtm_asmap" {
domain = "my_gtm_asmap.com.akadns.net"
map_name = "my gtm as map"
}
Changes to Outputs:
+ my_gtm_asmap = {
+ assignments = [
+ {
+ as_numbers = [
+ 12345,
]
+ datacenter_id = 2345
+ nickname = "Test AS maps"
},
]
+ default_datacenter = {
+ datacenter_id = 6789
+ nickname = "Default (all others)"
}
+ domain = "my_gtm_asmap.com.akadns.net"
+ id = "gtm_asmap"
+ links = [
+ {
+ href = "https://akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net/config-gtm/v1/domains/my_gtm_asmap.com.akadns.net/as-maps/my%20gtm%20as%20map"
+ rel = "self"
},
]
+ map_name = "my gtm as map"
}
Arguments
Pass both a domain and a map name in the data block.
Argument | Required | Description |
---|---|---|
domain | ✔️ | A GTM domain name. |
map_name | ✔️ | The GTM domain's AS map name. |
Attributes
Returned are high-level details about the given domain and map name.
Attribute | Description |
---|---|
assignments | Details about the given domain's AS zones. 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