Geo map
akamai_gtm_geomap
Hello. Just a note to let you know the underlying API on which this data source is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.
This status just means we've paused for a bit to get your feedback to make sure this data source works like you need and expect.
Get details about a given domain's geographical map.
data "akamai_gtm_geomap" "my_gtm_geomap" {
domain = "my_gtm_geomap.akadns.net"
map_name = "my gtm geomap"
}
output "my_gtm_geomap" {
value = data.akamai_gtm_geomap.my_gtm_geomap
}
Changes to Outputs:
+ my_gtm_geomap = {
+ assignments = [
+ {
+ countries = [
+ "AG",
+ "BB",
+ "CA",
+ "DM",
+ "VI",
]
+ datacenter_id = 1234
+ nickname = "Sample geomap"
},
]
+ default_datacenter = {
+ datacenter_id = 2345
+ nickname = "Default mapping"
}
+ domain = "my_gtm_geomap.akadns.net"
+ id = "gtm_geomap"
+ links = [
+ {
+ href = "https://akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net/config-gtm/v1/domains/my_gtm_geomap.com/geographic-maps/my%20gtm%20geomap"
+ rel = "self"
},
]
+ map_name = "my gtm geomap"
}
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 geographical map name. |
Attributes
Returned are high-level details about the given domain's geographical map.
Attribute | Description |
---|---|
assignments | Details about the given domain's geographic zone groupings of countries. Contains:
|
default_datacenter | The ID for the default data center in the given domain. Contains:
|
links | The direct URL to the domain's geographical map. Contains:
|
Updated 6 months ago