Policy activation
akamai_cloudlets_policy_activation
Activate a given version of a cloudlet policy. When activating a version on both the staging and production networks in the same configuration file, add the depends_on
argument to the production resource and reference your staging activation
resource "akamai_cloudlets_policy_activation" "my_policy_activation_single" {
policy_id = 12345
network = "staging"
version = 1
associated_properties = ["12345", "67890", "23456"]
timeouts {
default = "1h"
}
}
resource "akamai_cloudlets_policy_activation" "my_policy_activation_both" {
policy_id = 12345
network = "production"
version = 1
associated_properties = ["12345", "67890", "23456"]
timeouts {
default = "1h"
}
depends_on = [
akamai_cloudlets_policy_activation.my_policy_activation_staging
]
}
Arguments
Pass all arguments to activate your cloudlet's policy on a network.
Argument | Required | Description |
---|---|---|
policy_id | ✔ | A cloudlet policy's ID. |
network | ✔ | The network on which you are activating your client list. Either staging or production . |
version | ✔ | The policy version to activate. |
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:
|
associated_properties | A set of property IDs related to this cloudlet policy.
|
Attribute
Returned to you is your activation's status.
Updated 10 months ago