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
resource "google_apigee_instance_attachment" "framework" {
instance_id = module.apigee_org.instance_id
environment = google_apigee_environment.framework.name
}
resource "google_apigee_environment" "ipt" {
Parameters
-
environment
required - string
The resource ID of the environment.
-
id
optional computed - string -
instance_id
required - string
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:
- API documentation
- How-to Guides
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.