Apigee Hybrid is a platform for developing and managing API proxies that features a hybrid deployment model.
This repository supports provisioning Apigee Hybrid - Control Plane (CONFIGURE GOOGLE CLOUD AND UI) via Terraform scripts.
Apigee Hybrid - Version 1.6
- Apigee Org / environment details
- Terraform - [https://www.terraform.io/downloads]
- Gcloud client sdk - [https://cloud.google.com/sdk/docs/install]
- GCP Service account : Create a service account and key with the [
roles/serviceusage.serviceUsageAdmin
] or [roles/owner
] as described here, download the key file and set it as described for e.g. - terraform/environments/nonprod/main.tf#L12 ;
DO not check-in the service account file(s) to the repo.
For more information - [https://cloud.google.com/apigee/docs/hybrid/v1.6/big-picture]
- Find these scripts under
/terraform
directory. - Check the service account file name and location for non-prod and prod
- Update and validate the
terraform.tfvars
file and set theanalytics_region
,apigee_environments
,apigee_envgroups
,environments
andhostnames
. - Optional - Enable / Disable the APIs depending on your installation requirements - terraform/environments/nonprod/main.tf#L20
- Execute the below commands;
For more information - https://www.googlecloudcommunity.com/gc/Apigee/Apigee-X-Organization-Provisioning-with-Google-Terraform-Modules/m-p/166411
terraform init terraform plan terraform apply
Thanks to Daniel Strebel for the original post - here