Hostname audit history

📘

Beta

Hello. Just a note to let you know the underlying API on which this data source is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.

This status just means we've paused for a bit to get your feedback to make sure this data source works like you need and expect.

Get a record of all modifications made to a property hostname.

data "akamai_property_hostname_audit_history" "my-hostname-audit-history" {
  hostname = "example.com"
}

output "my-hostname-audit-history" {
  value = data.akamai_property_hostname_audit_history.my-hostname-audit-history
}
my-hostname-audit-history = {
  history  = [
    {
      action                 = "ACTIVATE"
      cert_provisioning_type = "CPS_MANAGED"
      cname_to               = "example.com.edgesuite.net"
      contract_id            = "ctr_C-0N7RAC7"
      edge_hostname_id       = "ehn_12345"
      group_id               = "grp_12345"
      network                = "STAGING"
      property_id            = "prp_12345"
      timestamp              = "2025-12-18T14:48:56Z"
      user                   = "jsmith"
    },
    {
      action                 = "ADD"
      cert_provisioning_type = "CPS_MANAGED"
      cname_to               = "example.com.edgesuite.net"
      contract_id            = "ctr_C-0N7RAC7"
      edge_hostname_id       = "ehn_12345"
      group_id               = "grp_12345"
      network                = "STAGING"
      property_id            = "prp_12345"
      timestamp              = "2025-12-18T14:46:11Z"
      user                   = "jsmith"
    },
  ]
  hostname = "example.com"
}

Arguments

Pass the hostname in the data block get its audit history. It's the cname_from for the hostname your end users see, indicated by the Host header in end-user requests.

Attributes

Returned to you is a set containing the hostname's audit history.

AttributeDescription
contract_idThe contract's ID.
group_idThe group's ID.
property_idThe property's ID.
edge_hostname_idThe edge hostname's ID.
actionThe type of action performed to the property hostname. Possible values are:

  • ACTIVATE. Currently serving traffic.

  • DEACTIVATE. Not serving serving traffic.

  • ADD. Requested for addition to a property.

  • REMOVE. Requested to removal from a property.

  • MOVE. Moved from one property to another.

  • MODIFY. Hostname configuration update for edge_hostname_id or cert_provisioning_type.

  • ABORTED. Hostname activation canceled.

  • ERROR. Hostname activation failed.
cert_provisioning_typeThe certificate's provisioning type. 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.
cname_toThe edge hostname you point the property hostname to so that you can start serving traffic through Akamai servers.
networkThe network of activated hostnames, either STAGING or PRODUCTION.
timestampThe timestamp indicating when the action occurred.
userThe user who initiated the action.