Hostnames diff

akamai_property_hostnames_diff

List active property hostnames whose details differ between the staging and production networks.

data "akamai_property_hostnames_diff" "my-hostnames-diff" {
  property_id = "12345"
  contract_id = "C-0N7RAC7"
  group_id    = "12345"
}

output "my-hostnames-diff" {
  value = data.akamai_property_hostnames_diff.my-hostnames-diff
}
my-hostnames-diff = {
      account_id  = "A-CCT1234"
      contract_id = "C-0N7RAC7"
      group_id    = "12345"
      hostnames   = [
          {
              cname_from                        = "example.com"
              production_cert_provisioning_type = "CPS_MANAGED"
              production_cname_to               = "example.com.edgesuite.net"
              production_cname_type             = "EDGE_HOSTNAME"
              production_edge_hostname_id       = "ehn_98765"
              staging_cert_provisioning_type    = "DEFAULT"
              staging_cname_to                  = "other.example.com.edgesuite.net"
              staging_cname_type                = "EDGE_HOSTNAME"
              staging_edge_hostname_id          = "ehn_12345"
            },
        ]
      property_id = "12345"
    }

Arguments

Send your property ID in the body of the declaration to list the diff between staging and production active property hostnames. If your property belongs to more than one contract and group, add the group and contract IDs.

ArgumentRequiredDescription
property_idYour property's ID.
contract_idYour contract's ID.
group_idYour group's ID.

Attributes

Returned to you is a computed set that contains the diff between staging and production active property hostnames.

Attribute Description
account_id The account's ID.
contract_id The contract's ID.
group_id The group's ID.
property_id The property's ID.
hostnames The set of hostnames activated within a given property activation on the staging and production networks. Includes:
  • cname_from. A hostname's origin.
  • production_cert_provisioning_type. A certificate's provisioning type used on the production network. Possible values are:
    • CPS_MANAGED for custom certificates you provision with Certificate Provisioning System.
    • CCM for custom certificates you provision with Cloud Certificate Manager.
    • DEFAULT for certificates provisioned automatically.
  • production_cname_to. The edge hostname you point the property hostname to on the production network so that you can start serving traffic through Akamai servers.
  • production_cname_type. A hostname's CNAME type used on the production network. Supports only the EDGE_HOSTNAME value.
  • production_edge_hostname_id. An edge hostname's ID used on the production network, including the ehn_ prefix.
  • staging_cert_provisioning_type. A certificate's provisioning type used on the staging network. Possible values are:
    • CPS_MANAGED for custom certificates you provision with Certificate Provisioning System.
    • CCM for custom certificates you provision with Cloud Certificate Manager.
    • DEFAULT for certificates provisioned automatically.
  • staging_cname_to. The edge hostname you point the property hostname to on the staging network so that you can start serving traffic through Akamai servers.
  • staging_cname_type. A hostname's CNAME type used on the staging network. Supports only the EDGE_HOSTNAME value.
  • staging_edge_hostname_id. An edge hostname's ID used on the staging network, including the ehn_ prefix.