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
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" {
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" {
Parameters
-
envgroup_id
required - string
The Apigee environment group associated with the Apigee environment, in the format 'organizations/[[org_name]]/envgroups/[[envgroup_name]]'.
-
environment
required - string
The resource ID of the environment.
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:
- API documentation
- How-to Guides
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.