Edge hostname
akamai_edge_hostname
Create or update an edge hostname. You can update only the IP version.
The average processing time when updating the
ip_behavior
field is 10–15 minutes.
Akamai supports three types of edge hostnames. Each type supports a different level of security.
Edge hostname type | Domain suffix | Example |
---|---|---|
Standard TLS | edgesuite.net | www.example.com.edgesuite.net |
Enhanced TLS | edgekey.net | www.example.com.edgekey.net |
Shared Cert | akamaized.net | www.example.com.akamaized.net |
resource "akamai_edge_hostname" "my_edge_hostname" {
product_id = "prd_Adaptive_Media_Delivery"
contract_id = "C-0N7RAC7"
group_id = "12345"
edge_hostname = "www.example.com.edgesuite.net"
ip_behavior = "IPV4"
use_cases = jsonencode([
{
"type" : "GLOBAL",
"option" : "LIVE",
"useCase" : "Segmented_Media_Mode"
}
])
timeouts {
default = "1h"
}
}
Arguments
The resource supports these arguments:
Argument | Required | Description |
---|---|---|
contract_id | ✔ | A contract's ID. |
group_id | ✔ | A group's ID. |
product_id | ✔ | A product's ID. |
edge_hostname | ✔ | One or more edge hostnames. The number of edge hostnames must be less than or equal to the number of public hostnames. |
ip_behavior | ✔ | Which version of the IP protocol to use. Possible values:
|
status_update_email | A set of comma-separated change notification email addresses that should receive updates on the IP behavior update request. | |
use_cases | A JSON encoded list of Akamai-provided preset use case scenarios. They characterize the type of traffic served and help to optimize it. | |
certificate | Required only when creating an Enhanced TLS edge hostname. Sets the certificate enrollment ID. Edge hostnames for Enhanced TLS end in edgekey.net . You can retrieve this ID from the Certificate Provisioning Service CLI . | |
timeouts | Uses a delete argument to override the HashiCorp processing timeout of 20 minutes. Value is a string containing a number and its time reference, h , m , s . You can pass one, two, or all values. For example:
|
Attributes
If you've not set an output method, the response only provides an edge hostname ID in the success message.
Setting an output method returns the edge hostname details you provided on create along with the computed edge hostname ID.
Updated 3 months ago