layout | page_title | sidebar_current | description |
---|---|---|---|
tfe |
Terraform Enterprise: tfe_organization_run_task |
docs-datasource-tfe-organization-run-task |
Get information on a Run task. |
Run tasks allow Terraform Cloud to interact with external systems at specific points in the Terraform Cloud run lifecycle. Run tasks are reusable configurations that you can attach to any workspace in an organization.
Use this data source to get information about an Organization Run tasks.
data "tfe_organization_run_task" "example" {
name = "task-name"
organization = "my-org-name"
}
The following arguments are supported:
name
- (Required) Name of the Run task.organization
- (Required) Name of the organization.
In addition to all arguments above, the following attributes are exported:
category
- The type of task.description
- A short description of the the task.enabled
- Whether the task will be run.id
- The ID of the task.url
- URL to send a task payload.