Terraform could be run either locally or inside a Docker container.
Download Terraform Install Terraform
The following are the instructions to run the provider locally. We currently support only Mac darwin_amd64 platform.
- Download EAA Terraform provider source code
- Build the provider binary. Navigate to the folder eaa_terraform and run the make command
cd eaa_terraform
make
And voilà!
The targets of the Makefile are,
- /bin/terraform-provider-eaa
- /bin/import-config
In order to work, the EAA provider will look for an .edgerc
configuration file stored in your home directory or your prefered location
where the configuration .tf
files are also present.
To create a {OPEN} API user, follow these instructions. Make sure the API user has READ-WRITE permission to Enterprise Application Access.
To create a legacy API key and secret from, connect to Akamai Control Center.
- use Enterprise Application Access in the left menu
- go to System > Settings and
- then click Generate new API Key in the API section of the page
The .edgerc
file should look like:
[default]
; Akamai {OPEN} API credentials
host = akaa-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx.luna.akamaiapis.net
client_token = akab-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx
client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
access_token = akab-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx