Hostname audit history
akamai_property_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.
| Attribute | Description |
|---|---|
contract_id |
The contract's ID. |
group_id |
The group's ID. |
property_id |
The property's ID. |
edge_hostname_id |
The edge hostname's ID. |
action |
The type of action performed to the property hostname. Possible values are:
|
cert_provisioning_type |
The certificate's provisioning type. Possible values are:
|
cname_to |
The edge hostname you point the property hostname to so that you can start serving traffic through Akamai servers. |
network |
The network of activated hostnames, either STAGING or PRODUCTION. |
timestamp |
The timestamp indicating when the action occurred. |
user |
The user who initiated the action. |
Updated 7 days ago
