Activation
akamai_property_activation

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 doesn't trigger a new property activation.You can't update the
contact
orauto_acknowledge_rule_warnings
arguments on an active property version. To make these updates, you have two options:
- Deactivate an existing property version, update those fields, and then reactivate that version.
- Create a new property version and activate it with the updated values on those fields.
// 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 19 days ago