Google Apigee Envgroup Attachment

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

google_apigee_envgroup_attachment (Terraform)

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

Example Usage from GitHub

main.tf#L41
resource "google_apigee_envgroup_attachment" "framework" {
  envgroup_id = google_apigee_envgroup.doit.name
  environment = google_apigee_environment.framework.name
}

resource "google_apigee_envgroup_attachment" "ipt" {
apigee1.tf#L50
resource "google_apigee_envgroup_attachment" "env_to_envgroup_attachment" {
  envgroup_id = google_apigee_envgroup.apigee_envgroup_1.id
  environment = google_apigee_environment.apigee_env_1.name
}

output "apigee_org_id" {

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

The Apigee environment group associated with the Apigee environment, in the format 'organizations/[[org_name]]/envgroups/[[envgroup_name]]'.

The resource ID of the environment.

  • id optional computed - string
  • name optional computed - string

The name of the newly created attachment (output parameter).

Explanation in Terraform Registry

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

Frequently asked questions

What is Google Apigee Envgroup Attachment?

Google Apigee Envgroup Attachment 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 Attachment?

For Terraform, the jaredkosanovic/apigee-x and GoogleCloudPlatform/gcpdiag 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.