An Environment Reference
in Apigee.
To get more information about EnvReferences, see:
The following arguments are supported:
name
-
(Required)
Required. The resource id of this reference. Values must match the regular expression [\w\s-.]+.
resource_type
-
(Required)
The type of resource referred to by this reference. Valid values are 'KeyStore' or 'TrustStore'.
refers
-
(Required)
Required. The id of the resource to which this reference refers. Must be the id of a resource that exists in the parent environment and is of the given resourceType.
env_id
-
(Required)
The Apigee environment group associated with the Apigee environment,
in the format organizations/{{org_name}}/environments/{{env_name}}
.
description
-
(Optional)
Optional. A human-readable description of this reference.In addition to the arguments listed above, the following computed attributes are exported:
id
- an identifier for the resource with format {{env_id}}/references/{{name}}
This resource provides the following Timeouts configuration options:
create
- Default is 1 minutes.delete
- Default is 1 minutes.EnvReferences can be imported using any of these accepted formats:
{{env_id}}/references/{{name}}
{{env_id}}/{{name}}
In Terraform v1.5.0 and later, use an import
block to import EnvReferences using one of the formats above. For example:
import {
id = "{{env_id}}/references/{{name}}"
to = google_apigee_env_references.default
}
When using the terraform import
command, EnvReferences can be imported using one of the formats above. For example:
$ terraform import google_apigee_env_references.default {{env_id}}/references/{{name}}
$ terraform import google_apigee_env_references.default {{env_id}}/{{name}}