GuideReference
TrainingSupportCommunity
Guide

Configurations

akamai_cloudwrapper_configurations

Get a list of Cloud Wrapper configurations associated with your API client's credentials.

data "akamai_cloudwrapper_configurations" "my_configurations" {
}

output "my_configurations" {
  value = data.akamai_cloudwrapper_configurations.my_configurations
}
Changes to Outputs:
  + my_configurations = {
      + configurations = [
          + {
              + capacity_alerts_threshold = null
              + comments                  = "Configuration changes for 03/08/2023"
              + config_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"
            },
          + {
              + capacity_alerts_threshold = null
              + comments                  = "Configuration changes for 01/19/2023"
              + config_id                 = 98765
              + config_name               = "My_configuration2"
              + contract_id               = "C-0N7RAC7"
              + last_activated_by         = "jsmith"
              + last_activated_date       = "2023-01-18T20:09:39.536Z"
              + last_updated_by           = "jsmith"
              + last_updated_date         = "2023-01-14T19:02:40.000Z"
              + locations                 = [
                  + {
                      + capacity        = {
                          + unit  = "GB"
                          + value = 1
                        }
                      + comments        = "My comments about US east."
                      + map_name        = "cw-s-use"
                      + traffic_type_id = 2
                    },
                ]
              + multi_cdn_settings        = null
              + notification_emails       = [
                  + "jsmith@example.com",
                ]
              + property_ids              = [
                  + "76543",
                ]
              + retain_idle_objects       = false
              + status                    = "ACTIVE"
            },
        ]
      + id             = "akamai_cloudwrapper_configurations"
    }
variable "config_name" {
  type        = string
  description = "My Cloud Wrapper configuration name."
  default     = "My_configuration2"
}
// tvars
config_name = var.config_name

Arguments

This data source is passed empty. The config_section argument in the Akamai provider block of your Terraform configuration provides the necessary information.

Attributes

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

AttributeDescription
capacity_alerts_thresholdThe storage limit that triggers a threshold alert.
config_idA configuration's ID.
config_nameA configuration's name.
commentsThe descriptive information you've 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 a the property IDS to which a configuration associated.
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
idA computed value for the data source.