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
}
Changes to Outputs:
+ my_property_list = {
+ contract_id = "C-0N7RAC7"
+ group_id = "123456"
+ id = "grp_123456ctr_C-0N7RAC7"
+ properties = [
+ {
+ contract_id = "ctr_C-0N7RAC7"
+ group_id = "grp_123456"
+ latest_version = 3
+ note = ""
+ product_id = ""
+ production_version = 1
+ property_id = "prp_12345"
+ property_name = "my-property-1"
+ rule_format = ""
+ staging_version = 3
},
+ {
+ contract_id = "ctr_C-0N7RAC7"
+ group_id = "grp_123456"
+ latest_version = 5
+ note = ""
+ product_id = ""
+ production_version = 2
+ property_id = "prp_98765"
+ property_name = "my-property-2"
+ rule_format = ""
+ 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 4 months ago