Google Apigee Envgroup
This page shows how to write Terraform for Apigee Envgroup and write them securely.
google_apigee_envgroup (Terraform)
The Envgroup in Apigee can be configured in Terraform with the resource name google_apigee_envgroup
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "google_apigee_envgroup" "apigee_envgroup" {
org_id = google_apigee_organization.apigee_org.id
name = "gcpdiag-demo-envgroup"
hostnames = ["gcpdiag.apigee.example.com"]
}
resource "google_apigee_envgroup" "doit" {
name = "DoIT"
org_id = module.apigee_org.org_id
#TODO: Use permanant hostname
hostnames = ["dev.apigee.wisc.edu"]
}
Parameters
-
hostnames
optional - list of string
Hostnames of the environment group.
The resource ID of the environment group.
-
org_id
required - string
The Apigee Organization associated with the Apigee environment group, in the format 'organizations/[[org_name]]'.
Explanation in Terraform Registry
An
Environment group
in Apigee. To get more information about Envgroup, see:
- API documentation
- How-to Guides
Frequently asked questions
What is Google Apigee Envgroup?
Google Apigee Envgroup is a resource for Apigee of Google Cloud Platform. Settings can be wrote in Terraform.
Where can I find the example code for the Google Apigee Envgroup?
For Terraform, the GoogleCloudPlatform/gcpdiag and jaredkosanovic/apigee-x source code examples are useful. See the Terraform Example section for further details.