Search
akamai_properties_search
Retrieve a list of properties matching a specific hostname, edge hostname, or property name.
data "akamai_properties_search" "my_property_search" {
  key   = "hostname"
  value = "example.com"
}
output "my_property_search" {
  value = data.akamai_properties_search.my_property_search
}
my_property_search = {
      id         = "hostname:example.com"
      key        = "hostname"
      properties = [
          {
              account_id        = "act_A-CCT1234"
              asset_id          = "aid_1234567"
              contract_id       = "ctr_C-0N7RAC7"
              edge_hostname     = "www.example.edgesuite.net"
              group_id          = "grp_12345"
              hostname          = "example.com"
              production_status = "INACTIVE"
              property_id       = "prp_123456"
              property_name     = "my-property"
              property_version  = 3
              staging_status    = "ACTIVE"
              updated_by_user   = "jsmith"
              updated_date      = "2024-05-02T11:05:04Z"
            },
        ]
      value      = "example.com"
    }
Arguments
Pass a key and value in the body of the declaration to get properties matching your search criteria.
| Argument | Required | Description | 
|---|---|---|
| key | ✔️ | A key used for search. Valid values are hostname,edgeHostname, orpropertyName. | 
| value | ✔️ | A value to search for. | 
Attributes
Returned to you is a list of properties matching your search criteria.
| Attribute | Description | 
|---|---|
| id | The data soruce's ID. | 
| key | The key used for search. | 
| properties | A list of properties matching the given search criteria. Each property record contains: 
 | 
| value | The searched value. | 
Updated 18 days ago
