Google Apigee Instance Attachment

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

google_apigee_instance_attachment (Terraform)

The Instance Attachment in Apigee can be configured in Terraform with the resource name google_apigee_instance_attachment. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L17
resource "google_apigee_instance_attachment" "framework" {
  instance_id = module.apigee_org.instance_id
  environment = google_apigee_environment.framework.name
}

resource "google_apigee_environment" "ipt" {

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 resource ID of the environment.

The Apigee instance associated with the Apigee environment, in the format 'organisations/[[org_name]]/instances/[[instance_name]]'.

  • name optional computed - string

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

Explanation in Terraform Registry

An Instance attachment in Apigee. To get more information about InstanceAttachment, see:

Frequently asked questions

What is Google Apigee Instance Attachment?

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

For Terraform, the jaredkosanovic/apigee-x source code example is 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.