Includes
akamai_property_includes
Get all includes available for a given contract and group.
data "akamai_property_includes" "my_property_includes" {
contract_id = "C-0N7RAC7"
group_id = "12345"
parent_property {
id = "123456"
version = 1
}
type = "COMMON_SETTINGS"
}
output "my_property_includes" {
value = data.akamai_property_includes.my_property_includes
}
Changes to Outputs:
+ my_property_includes = {
+ contract_id = "C-0N7RAC7"
+ group_id = "12345"
+ id = "C-0N7RAC7:12345"
+ includes = [
+ {
+ id = "inc_1234"
+ latest_version = 2
+ name = "my-include-1"
+ production_version = ""
+ staging_version = "2"
+ type = "COMMON_SETTINGS"
},
+ {
+ id = "inc_9876"
+ latest_version = 1
+ name = "my-include-2"
+ production_version = "1"
+ staging_version = "1"
+ type = "COMMON_SETTINGS"
},
]
+ parent_property = [
+ {
+ id = "123456"
+ version = 1
},
]
+ type = "COMMON_SETTINGS"
}
Arguments
Pass your contract and group IDs in the body of the declaration to get all includes available to you.
Argument | Required | Description |
---|---|---|
contract_id | ✔ | Your contract's ID. |
group_id | ✔ | Your group's ID. |
parent_property | The property that references the includes you want to list. For each property, provide:
| |
type | The include type. Provide either:
|
Attributes
Returned to you is a list of includes
with its details.
Attribute | Description |
---|---|
contract_id | Your contract's ID. |
group_id | Your group's ID. |
id | Your data source's ID. |
includes | A list of includes. Each include record contains:
|
parent_property | Properties that use an include. |
type | The include type. |
Updated 3 months ago