Policy
akamai_cloudlets_policy
Create and update a cloudlet policy.
resource "akamai_cloudlets_policy" "my_cloudlet_policy" {
  resource "akamai_cloudlets_policy" "my-new-cloudlet-policy" {
  name          = "policy1"
  cloudlet_code = "ER"
  group_id      = "12345"
  is_shared     = false  // Optional. Default is false.
  match_rules   = file("${path.root}/cloudlet-policy.json")
}
Arguments
Pass a name for your policy, the code representing the type of cloudlet you're using, your group ID, and any optional arguments to create a policy.
| Argument | Required | Description | 
|---|---|---|
| name | ✔ | A user created name for a policy. | 
| cloudlet_code | ✔ | The character code for your cloudlet type. 
 | 
| group_id | ✔ | Your group ID. | 
| is_shared | The type of policy to create. 
 | |
| description | A human-readable description about your policy version. | |
| match_rule_format | Your match_rulesversion. | |
| match_rules | The rules for your policy in JSON format, in the resource or a pointer to the file. | |
| 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:
 | 
Attributes
Returned to you are your cloudlet's ID and version along with a jsonencoded list of warnings.
Updated about 2 months ago
