Activation
akamai_property_activation
Average processing times Staging: 1-3 minutes Production: 5-7 minutes
Activates a property version on either the staging or production network. If you don't specify a network, the default action targets staging.
A
note
change does not trigger a new property activation.
// Change the network value to production for the production network
resource "akamai_property_activation" "my_activation" {
property_id = "prp_12345"
network = "staging"
contact = ["jsmith@example.com"]
note = "Sample activation"
version = "1"
auto_acknowledge_rule_warnings = true
timeouts {
default = "1h"
}
}
Arguments
Pass your property's ID and version along with who to send change notifications to to activate your property.
Argument | Required | Description |
---|---|---|
property_id | ✔️ | Your property's ID, including the prp_ prefix. |
contact | ✔️ | One or more email addresses to which to send activation status changes. |
version | ✔️ | Your property's version number. |
network | Akamai network in which to activate your property, either staging or production . The default is staging . | |
note | A descriptive message about the activation request. | |
auto_acknowledge_rule_warnings | Whether the activation should proceed despite any warnings. The default is false . | |
timeouts | Uses a default 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
Returned to you are the activation's IDs, status, and any warnings or errors.
Attribute | Description |
---|---|
id | Your activation's ID. |
warnings | Warnings returned during activation. |
errors | Errors returned during activation. |
activation_id | The ID given to the activation event while it's in progress. |
status | The property version's activation status on the given network. |
Updated 10 months ago