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 = ["PropertyName", "PropertyName2", "PropertyName3"]
  timeouts {
  	default = "1h"
  }
}
resource "akamai_cloudlets_policy_activation" "my_policy_activation_both" {
  policy_id = 12345
  network = "production"
  version = 1
  associated_properties = ["PropertyName", "PropertyName2", "PropertyName3"]
  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 stagingorproduction. | 
| version | ✔ | The policy version to activate. | 
| timeouts | ✔ | Uses a defaultargument 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 names related to this cloudlet policy. 
 | 
Attribute
Returned to you is your activation's status.
Updated 7 months ago
