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

apigee1.tf#L38
resource "google_apigee_envgroup" "apigee_envgroup" {
  org_id    = google_apigee_organization.apigee_org.id
  name      = "gcpdiag-demo-envgroup"
  hostnames = ["gcpdiag.apigee.example.com"]
}

main.tf#L34
resource "google_apigee_envgroup" "doit" {
  name   = "DoIT"
  org_id = module.apigee_org.org_id
  #TODO: Use permanant hostname
  hostnames = ["dev.apigee.wisc.edu"]
}

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Hostnames of the environment group.

  • id optional computed - string
  • name required - string

The resource ID of the environment group.

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:

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.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.