- Introduction
- Key features
- Installation
- Examples
- Scope and Limitations
- Troubleshooting and Support
- References
Enterprise Application Access (EAA) comes with a full suite of APIs. Yet you need to write scripts or use Postman to be able to interact with the service.
With EAA Terraform provider, you can run some common operations directly from the command line, no coding required.
- Application
- Create/modify an application
- Import operations
- Certain advanced settings
See install.md
-
Export the API client
.edgerc
to a location where.tf
files are also located. -
.tf
must contain the following sections:required_providers
required_providers"eaa" provider details
resource config for your application
app_config
- Refer to the Examples, for sample tf files.
-
To create multiple apps using Terraform, either multiple
.tf
files (for example, one for each app) could be created or one.tf
file could contain configurations of all apps. -
Run the following terraform commands:
terraform init
terraform plan
terraform apply
-
All the app configuration is now pushed to EAA and the app deployments would start.
-
If you are deploying multiple apps at once, the deployment could take a while. It’s recommended to deploy in batches.
EAA Terraform provider comes with an import tool that can be used to import all or a subset of applications that are created outside Terraform and manage them using Terraform infrastructure.
The import tool relies on the .edgerc
configuration to access the tenant details and prompts for a comma-separated application names.
./bin/import-config
terraform init
terraform plan -generate-config-out=generated.tf /* Terraform can generate code for the resources you define in import blocks that do not already exist in your configuration. */
cat import_existing_apps.tf
terraform plan
terraform apply
- Create and deploy an application
- Update the application
- Apps with Akamai domain and custom domain
- Self signed certificate for custom domain
- Uploaded certicate for custom domain
- Assigning pops to the application
- Assigning App categories to the application
- Assigning connectors to the application
- Assigning IDP to the application
- Assigning directories to the application
- Assigning groups to the application
- Enabling Access service
- Creating access control rule(s) to block or deny access to an application, based on User/Group criteria
- updating G2O
- subset of advanced_settings
- updating connectors, IDPs, directories and groups assigned to application
- data sources for app_categories, pops, agents, idps, directories and groups
- Supports only Mac darwin_amd64
- all of advanced_settings
To enable verbose logging of Terraform operations, set export TF_LOG=[Info/Error/Debug/Warn]
prior to running any Terraform commands.
The messages are printed on the console.
EAA Terraform provider is provided as-is and it is not supported by Akamai Support. To report any issue, feature request or bug, please open a new issue into the GitHub Issues page
We are strongly encouraging developer to create a pull request.
For more information about using EAA in Akamai Control Center, refer to Enterprise Application Access
To learn the basics of Terraform using this provider, follow the hands-on get started tutorials.