GuideReference
TrainingSupportCommunity
Guide

Location

akamai_cloudwrapper_location

🚧

Beta

While the underlying code for our Cloud Wrapper subprovider has been vetted, we’ve placed the beta label here only to collect your feedback and work through any issues.

Get details about a given traffic location.

data "akamai_cloudwrapper_location" "my_location" {
  location_name           = "United Kingdom"
  traffic_type            = "LIVE_VOD"
}

output "my_location" {
  value = data.akamai_cloudwrapper_location.my_location
}
Changes to Outputs:
  + my_location = {
      + id              = "akamai_cloudwrapper_location"
      + location_id     = "cw-s-gb"
      + location_name   = "United Kingdom"
      + traffic_type    = "LIVE_VOD"
      + traffic_type_id = 3
    }
variable "traffic_type_id" {
  type        = string
  description = "My location's traffic type"
  default     = "3"
}
// tvars
 traffic_type_id = var.traffic_type_id

Arguments

Pass a location's name and traffic type in the body of the data block.

ArgumentRequiredDescription
idA computed value for the data source.
location_name✔️A location's name.
traffic_type✔️The type of traffic served at the location.
  • LIVE. Low-latency media traffic.
  • LIVE_VOD. Redundant, video-on-demand media traffic.
  • WEB_STANDARD_TLS. Content using Standard TLS security.
  • WEB_ENHANCED_TLS. Content using Enhanced TLS security

Attributes

Returned to you is a location set with high level details about your location.

AttributeDescription
location_idA location's ID.
location_nameA location's name.
traffic_typeThe type of traffic served at the location.
  • LIVE. Low-latency media traffic.
  • LIVE_VOD. Redundant, video-on-demand media traffic.
  • WEB_STANDARD_TLS. Content using Standard TLS security.
  • WEB_ENHANCED_TLS. Content using Enhanced TLS security.
traffic_type_idAn ID that represents a combination of location and traffic type.