Managing Jobs
Manage jobs in Resource Manager.
Note
For descriptions of job types, lifecycle states, and the default retry policy, see job in the overview page.
For descriptions of job types, lifecycle states, and the default retry policy, see job in the overview page.
Required IAM Policy
Use policies to grant access to jobs in Resource Manager.
To manage jobs, you must be given the required type of access in a policy written by an administrator, whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you're new to policies, see Getting Started with Policies and Common Policies.
Administrators: For common policies that give groups access to jobs in Resource Manager, see Manage Stacks and Jobs (Securing Resource Manager).
Tasks
You can perform the following job management tasks:
- Creating a Job
- Retrieving the Latest Providers
- Debugging a Job by Generating Detailed Log Content
- Listing Jobs
- Getting a Job's Details
- Listing Job Resources
- Listing Job Outputs
- Getting Detailed Log Content for a Job
- Getting Logs for a Job
- Getting Logs Content for a Job
- Getting a Job's Terraform Configuration
- Getting the Terraform Output for a Plan Job
- Getting a Job's State File
- Updating a Job
- Tagging a Job
- Canceling a Job
Lifecycle States
Review possible lifecycle states for jobs.
- Accepted (
ACCEPTED
): The job was accepted for processing. - In progress (
IN_PROGRESS
): The job is running (executing). - Failed (
FAILED
): The job did not complete execution. - Succeeded (
SUCCEEDED
): The job has completed successfully. - Canceling (
CANCELING
): The job is being canceled; a notification has been sent, but the job has not yet stopped running. - Canceled (
CANCELED
): The job was canceled and has stopped running.