Properties
akamai_cloudwrapper_properties
Beta
While the underlying code for our Cloud Wrapper subprovider has been vetted, we’ve placed the beta label here only to collect your feedback and work through any issues.
Get a list of all your account's properties or use filters to narrow the results to a particular contract and/or properties that already use an existing Cloud Wrapper.
data "akamai_cloudwrapper_properties" "my_properties" {
}
output "my_properties" {
value = data.akamai_cloudwrapper_properties.my_properties
}
Changes to Outputs:
+ my_properties = {
+ contract_ids = [
+ "C-0N7RAC7",
]
+ id = "propdsid-1234-429e-abc1-98765ab43c21"
+ properties = [
+ {
+ contract_id = "C-0N7RAC7"
+ group_id = 12345
+ property_id = 98765
+ property_name = "My property name 1"
+ type = "MEDIA"
},
+ {
+ contract_id = "C-0N7RAC7"
+ group_id = 98765
+ property_id = 12345
+ property_name = "My property name 2"
+ type = "WEB"
},
]
+ unused = null // or true/false depending on filter use
}
contract_ids = ["C-0N7RAC7"]
variable "property_ids" {
type = list
description = "My wrapper properties"
default = ["12345", "98765"]
}
// tvars
property_ids = var.property_ids
Arguments
Pass this data source empty to get all the properties associated with your account.
Limit results by passing a list of contract IDs or whether the property is unused.
Argument | Required | Description |
---|---|---|
contract_ids | List of contract IDs with Cloud Wrapper entitlement. | |
unused | Boolean to return only unused properties. |
Attributes
Returned to you is a properties
with all of your unused properties.
Attribute | Description |
---|---|
property_id | The property's ID. |
type | The type of property.
|
property_name | The property's name. |
contract_id | Your contract ID. |
group_id | Your contract's group ID. |
Updated about 1 year ago