Policy set
akamai_imaging_policy_set
Create, update, or delete a policy set for your contract on both staging and production networks. Run terraform destroy to remove it.
For an existing policy set, you can update its name and region.
- Altering the
regionvalue on an existing policy set voids previously cached images and videos and requires their transformation again.- Changing the
typevalue forces a replacement. It destroys your current policy set and creates a new one.
resource "akamai_imaging_policy_set" "my-policy-set" {
  contract_id = "12345"
  name        = "my-image-policy-set"
  region      = "US"
  type        = "IMAGE"
}
Arguments
Send all the required arguments to create a new policy set.
| Argument | Required | Description | 
|---|---|---|
| contract_id | ✔ | Your contract's ID. | 
| name | ✔ | A descriptive, human-readable name for your policy set. | 
| region | ✔ | The geographic region for which the media using your policy set is optimized. Possible values: 
 
 | 
| type | ✔ | The type of media managed by your policy set, either IMAGEorVIDEO. | 
Attributes
There is no default standard output. Upon creation, the last line of the process log contains a success message with your policy set's id.
Adding an output block returns the policy set details you provided on create and the computed id attribute.
Updated 5 months ago
