This repo contains various examples of using Terraform to deploy Akamai configuration. Each folder is a self-contained collection of TF configs, described below:
- basic-property-hcl - A simple Property Manager property with its rule tree represented as akamai_property_rules_builder data sources in a single file
- basic-property-json - A simple Property Manager property with its rule tree represented as json snippets
- basic-property-jsonnet - A simple Property Manager property with its rule tree represented as jsonnet
- certificate - A CPS DV certificate enrollment
- dns - An EdgeDNS zone
- external_pwsh - Example of using the Terraform external resource type to run PowerShell commands in order to expand Terraform functionality
- import-converter - Python script to convert terraform import commands from the Akamai terraform CLI to inline Terraform import resources
- multi-pipeline - This folder contains a single module covering the following apps, as well as multiple environment instances to be used in a pipeline configuration
- Property Manager
- Network Lists
- Certificate Provisioning System
- App & API Protector with Advanced Security Module
- multiple-apps - This folder contains a module covering the following apps
- App & API Protector with Advanced Security Module
- Certificate Provisioning System
- Image and Video Manager (both Image and Video policies)
- Network Lists
- Edge Redirector Cloudlet
- Property Manager
- property-pipeline - An example of using Terraform modules to pipeline property changes through multiple environments
- shared-modules - This folder contains all the modules in use in the multi* scenarios in order to avoid code duplication
Note: As the name suggests, these are examples and no support of any kind is offered. Also, when the Akamai Terraform Provider is updated, occasionally changes are introduced which will invalidate something in this repo. Every effort will be made to keep the code here up to date, but there may be slight manual changes required from time to time