Properties
akamai_properties
Retrieve the list of properties for your group and contract.
data "akamai_properties" "my_properties" {
contract_id = "C-0N7RAC7"
group_id = "123456"
}
output "my_property_list" {
value = data.akamai_properties.my_properties
}
my_property_list = {
contract_id = "C-0N7RAC7"
group_id = "12345"
id = "grp_12345ctr_C-0N7RAC7"
properties = [
{
contract_id = "ctr_C-0N7RAC7"
group_id = "grp_12345"
latest_version = 3
note = ""
production_version = 1
property_id = "prp_12345"
property_name = "my-property-1"
property_type = ""
staging_version = 3
},
{
contract_id = "ctr_C-0N7RAC7"
group_id = "grp_12345"
latest_version = 5
note = ""
production_version = 0
property_id = "prp_98765"
property_name = "my-property-2"
property_type = "HOSTNAME_BUCKET"
staging_version = 5
},
]
}
Arguments
Pass your contract and group IDs in the body of the declaration to get the list of properties.
Attributes
Returned to you is a list of properties for your contract and group.
| Attribute | Description |
|---|---|
contract_id |
Your contract's ID. |
group_id |
Your group's ID. |
id |
The data source's ID. |
properties |
A list of properties. Each property record contains:
|
Updated 11 days ago
