GuideReference
TrainingSupportCommunity
Guide

Products

akamai_property_products

List products included on your contract.

data "akamai_property_products" "my_products" {
    contract_id = "C-0N7RAC7"
}

output "my_products" {
  value = data.akamai_property_products.my_products
}
Changes to Outputs:
  + my_products = {
      + contract_id = "C-0N7RAC7"
      + id          = "a1b23c4d5efgh67890123i4j56k7l89mn012345o"
      + products    = [
          + {
              + product_id   = "prd_HTTP_Content_Del"
              + product_name = "HTTP_Content_Del"
            },
          + {
              + product_id   = "prd_Download_Delivery"
              + product_name = "Download_Delivery"
            },
          + {
              + product_id   = "prd_Progressive_Media"
              + product_name = "Progressive_Media"
            },
        ]
    }

Arguments

Pass your contract ID in the body of the declaration to get a list of products.

Attributes

Returned to you is a list of productsfor the specific contract.

Attribute Description
contract_id Your contract's ID.
id The data source's ID.
products A list of supported products for your contract. Each product record contains:
  • product_id. The product's ID with the prd_ prefix.
  • product_name. The product's name.