Geo map
akamai_gtm_geomap
Create, update, and delete geographic maps.
resource "akamai_gtm_geomap" "my_geomap" {
domain = "my_domain.akadns.net"
name = "my_geomap"
default_datacenter {
datacenter_id = 1234
nickname = "my_geozones"
}
}
my_geomap = {
"assignment" = tolist([])
"default_datacenter" = tolist([
{
"datacenter_id" = 1234
"nickname" = "my_geo_zones"
},
])
"domain" = "my_domain.akadns.net"
"id" = "my_domain.akadns.net:my_geomap"
"name" = "my_geomap"
"wait_on_complete" = true
}
Arguments
Send your domain, datacenter information, and a name for the map.
Important: Map names are immutable. Attempting to change the name of an existing map creates a new map.
Argument | Required | Description |
---|---|---|
domain | ✔ | The GTM Domain name for the geographic map. |
name | ✔ | The map's name. |
default_datacenter | ✔ | A placeholder for all other geographic zones not found in these geographic zones. Contains:
|
wait_on_complete | A boolean that, if true , waits for transaction to complete. | |
assignment | Information about geographic zone grouping. You can have multiple entries for this argument. Contains:
|
Attributes
Returned to you is a mirror of your declaration with an additional property of id
. This ID is an amalgamation of your domain and the name you've given the map. For example, "id" = "my_domain.akadns.net:my_geomap"
.
Updated about 2 hours ago