Deploys a revision of a sharedflow.
To get more information about SharedflowDeployment, see:
The following arguments are supported:
org_id
-
(Required)
The Apigee Organization associated with the Sharedflow
environment
-
(Required)
The resource ID of the environment.
sharedflow_id
-
(Required)
Id of the Sharedflow to be deployed.
revision
-
(Required)
Revision of the Sharedflow to be deployed.
service_account
-
(Optional)
The service account represents the identity of the deployed proxy, and determines what permissions it has. The format must be {ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com.In addition to the arguments listed above, the following computed attributes are exported:
id
- an identifier for the resource with format organizations/{{org_id}}/environments/{{environment}}/sharedflows/{{sharedflow_id}}/revisions/{{revision}}/deployments
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.SharedflowDeployment can be imported using any of these accepted formats:
organizations/{{org_id}}/environments/{{environment}}/sharedflows/{{sharedflow_id}}/revisions/{{revision}}/deployments/{{name}}
{{org_id}}/{{environment}}/{{sharedflow_id}}/{{revision}}/{{name}}
In Terraform v1.5.0 and later, use an import
block to import SharedflowDeployment using one of the formats above. For example:
import {
id = "organizations/{{org_id}}/environments/{{environment}}/sharedflows/{{sharedflow_id}}/revisions/{{revision}}/deployments/{{name}}"
to = google_apigee_flowhook.default
}
When using the terraform import
command, SharedflowDeployment can be imported using one of the formats above. For example:
$ terraform import google_apigee_sharedflow_deployment.default organizations/{{org_id}}/environments/{{environment}}/sharedflows/{{sharedflow_id}}/revisions/{{revision}}/deployments/{{name}}
$ terraform import google_apigee_sharedflow_deployment.default {{org_id}}/{{environment}}/{{sharedflow_id}}/{{revision}}/{{name}}