-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from akamai/rc0.6.8
Release 0.6.8
- Loading branch information
Showing
16 changed files
with
645 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.6.7 | ||
0.6.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Wrapper to enable Python virtual env on the fly, run the command | ||
# and then deactivate it. | ||
|
||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
VENV_ACTIVATE="${DIR}/../venv/bin/activate" | ||
|
||
if [ -f "${VENV_ACTIVATE}" ]; then | ||
. "${VENV_ACTIVATE}" | ||
"${DIR}/akamai-eaa" "$@" | ||
deactivate | ||
else | ||
echo "$0: Cannot activate Python virtual environment: ${VENV_ACTIVATE}" | ||
exit 2 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# eaa-application terraform module | ||
|
||
Terraform module allows to provision (create/update) or deprovision (delete) EAA application configuration in your Terraform code, relying on BASH and `cli-eaa`. | ||
|
||
It leverages Terraform `local-exec` provisioner which are "a Last Resort": keep this in mind. | ||
|
||
For native EAA Terraform, we recommend https://github.com/akamai/terraform-eaa. | ||
|
||
## Getting started | ||
|
||
See [examples](examples/) sub-directory for details. | ||
|
||
```HCL | ||
module "my-eaa-app" { | ||
# You may pin a tagged version here, or use the lasted main branch | ||
source = "https://github.com/akamai/cli-eaa/terraform/cli-eaa-application" | ||
# API Credentials | ||
openapi_credentials = { | ||
access_token = "akab-abcd" | ||
client_secret = "abcdef" | ||
client_token = "akab-abcdef" | ||
hostname = "akab-abcdef.luna.akamaiapis.net" | ||
} | ||
# Authentication | ||
auth_idp_name = "MyIdP" | ||
auth_directory_name = "MyActiveDirectory" | ||
auth_group_names = ["MyGroup"] | ||
# Connectors | ||
connector_names = ["con-1", "con-2"] | ||
# Application info | ||
cloudzone_name = "Client-US-East" | ||
app_name = "My EAA application" | ||
app_description = " created with Terraform" | ||
tunnel_destination = { | ||
host_or_ip = "www.akamai.com" | ||
ports = "443" | ||
} | ||
} | ||
``` | ||
|
||
## Limitations | ||
|
||
- Only one identity directory | ||
- Only client-app type=tunnel | ||
- Only Akamai external hostnames (.go.akamai-access.com) |
Oops, something went wrong.