Google Apigee Environment

This page shows how to write Terraform for Apigee Environment and write them securely.

google_apigee_environment (Terraform)

The Environment in Apigee can be configured in Terraform with the resource name google_apigee_environment. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L10
resource "google_apigee_environment" "framework" {
  name         = "framework"
  display_name = "Framework"
  description  = "Environment for framework development."
  org_id       = module.apigee_org.org_id
}
apigee1.tf#L33
resource "google_apigee_environment" "apigee_env_1" {
  org_id = google_apigee_organization.apigee_org.id
  name   = "gcpdiag-demo-env-1"
}

resource "google_apigee_envgroup" "apigee_envgroup" {

Parameters

  • description optional - string
    • Description of the environment.

  • display_name optional - string
    • Display name of the environment.

  • id optionalcomputed - string
  • name required - string
    • The resource ID of the environment.

  • org_id required - string
    • The Apigee Organization associated with the Apigee environment, in the format 'organizations/{{org_name}}'.

Explanation in Terraform Registry

An Environment in Apigee. To get more information about Environment, see:

Frequently asked questions

What is Google Apigee Environment?

Google Apigee Environment 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 Environment?

For Terraform, the jaredkosanovic/apigee-x and GoogleCloudPlatform/gcpdiag source code examples are useful. See the Terraform Example section for further details.

security-icon

Scan your IaC problem in 3 minutes for free

You can keep your IaC security for free. No credit card required.