Geo maps
akamai_gtm_geomaps
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 a given domain's geographical maps.
data "akamai_gtm_geomaps" "my_gtm_geomaps" {
domain = "my_gtm_geomap.akadns.net"
}
output "my_gtm_geomaps" {
value = data.akamai_gtm_geomaps.my_gtm_geomaps
}
Changes to Outputs:
+ my_gtm_geomaps = {
+ domain = "my_gtm_geomap.akadns.net"
+ geo_maps = [
+ {
+ assignments = [
+ {
+ countries = [
+ "AG",
+ "BB",
+ "CA",
+ "DM",
+ "VI",
]
+ datacenter_id = 1234
+ nickname = "Sample geomap"
},
]
+ default_datacenter = {
+ datacenter_id = 2345
+ nickname = "Default Mapping"
}
+ links = [
+ {
+ href = "https://akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net/config-gtm/v1/domains/my_gtm_geomap.com/geographic-maps/my%20gtm%20geomap"
+ rel = "self"
},
]
+ name = "my geo map"
},
+ {
+ assignments = [
+ {
+ countries = [
+ "DE",
+ "DK",
+ "GR",
+ "HR",
+ "HU",
+ "PT",
]
+ datacenter_id = 5678
+ nickname = "Sample geomap 2"
},
]
+ default_datacenter = {
+ datacenter_id = 2345
+ nickname = "Default Mapping"
}
+ links = [
+ {
+ href = "https://akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net/config-gtm/v1/domains/my_gtm_geomap.com/geographic-maps/my%20gtm%20geomap%202"
+ rel = "self"
},
]
+ name = "my gtm geomap 2"
},
]
+ id = "gtm_geomaps"
}
Argument
Pass a domain
name in the data block.
Attributes
Returned are high-level details about the given domain's geographical maps.
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