This code was used to create https://github.com/akamai/cli-terraform
An Akamai CLI plugin for generating an Akamai Terraform Provider configuration from existing Property Manager configuration.
Note, these instructions assume you already have a working CLI and Terraform installation.
To install this package, use Akamai CLI:
$ akamai install https://github.com/IanCassTwo/akamai-property-to-terraform.git
Usage:
akamai terraform [global flags] command [command flags] [arguments...]
Description:
Generate Terraform configs from your existing Property Manager configs
Built-In Commands:
create
list
help
Global Flags:
--edgerc value Location of the credentials file (default: "/home/icass/.edgerc") [$AKAMAI_EDGERC]
--section value Section of the credentials file (default: "default") [$AKAMAI_EDGERC_SECTION]
--accountkey value Account switch key
- Create a new empty subdirectory to hold your new Terraform configuration and change into it.
akamai terraform create <name of property manager config>
terraform init
terraform apply