GuideReference
TrainingSupportCommunity
Guide

Configuration

akamai_cloudwrapper_configuration

Get details about a given Cloud Wrapper configuration.

data "akamai_cloudwrapper_configuration" "my_configuration" {
  id = 12345
}

output "my_configurations" {
  value = data.akamai_cloudwrapper_configuration.my_configuration
}
Changes to Outputs:
  + my_configuration = {
      + capacity_alerts_threshold = null
      + comments                  = "Configuration changes for 03/08/2023"
      + id                        = 12345
      + config_name               = "My_configuration1"
      + contract_id               = "C-0N7RAC7"
      + last_activated_by         = "jsmith"
      + last_activated_date       = "2023-03-08T22:25:19.724Z"
      + last_updated_by           = "jsmith"
      + last_updated_date         = "2023-03-08T20:54:44.000Z"
      + locations                 = [
          + {
              + capacity        = {
                  + unit  = "GB"
                  + value = 10
                }
              + comments        = "My comments about Europe."
              + map_name        = "cw-s-eu"
              + traffic_type_id = 5
            },
          + {
              + capacity        = {
                  + unit  = "GB"
                  + value = 10
                }
              + comments        = "My comments about the UK."
              + map_name        = "cw-s-gb"
              + traffic_type_id = 29
            },
        ]
      + multi_cdn_settings        = null
      + notification_emails       = [
          + "jsmith@example.com",
        ]
      + property_ids              = [
          + "12345",
          + "98765",
        ]
      + retain_idle_objects       = false
      + status                    = "ACTIVE"
    }
variable "config_name" {
  type        = string
  description = "My Cloud Wrapper configuration name."
  default     = "My_configuration2"
}
// tvars
config_name = var.config_name

Argument

Pass your Cloud Wrapper configuration ID in the body of the data block.

Attributes

Returned to you are high-level details about your configuration.

AttributeDescription
capacity_alerts_thresholdThe storage limit that triggers a threshold alert.
idA configuration's ID.
config_nameA configuration's name.
commentsThe descriptive information you provided about a configuration.
contract_idYour contract ID.
last_activated_byThe name of the user who last activated the configuration.
last_activated_dateThe ISO 8601 time stamp for the latest activation.
last_updated_byThe name of the user who last updated the configuration.
last_updated_dateThe ISO 8601 time stamp for the latest update.
locationsA list of details about a location's traffic settings.
  • comments. The descriptive information you've provided about a location.
  • traffic_type_id. An ID that represents a combination of location and traffic type.
  • capacity. The total amount of space allotted to a given contract in GB or TB.
    • unit. The data measurement type. Either GB or TB
    • value. The total units allotted to your contract.
notification_emailsA list of email addresses that receive change notifications.
property_idsA list of the property IDs associated with your Cloud Wrapper configuration.
retain_idle_objectsBoolean that sets retention status beyond the max idle lifetime.
statusThe current provisioning state of your configuration.
  • SAVED
  • IN_PROGRESS
  • ACTIVE
  • DELETE_IN_PROGRESS
  • FAILED