The Batch Job Queue data source allows access to details of a specific job queue within AWS Batch.
data "aws_batch_job_queue" "test-queue" {
name = "tf-test-batch-job-queue"
}
The following arguments are supported:
name - (Required) The name of the job queue. In addition to all arguments above, the following attributes are exported:
arn - The ARN of the job queue. status - The current status of the job queue (for example, CREATING or VALID). status_reason - A short, human-readable string to provide additional details about the current status of the job queue. state - Describes the ability of the queue to accept new jobs (for example, ENABLED or DISABLED). priority - The priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment. compute_environment_order - The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order. compute_environment_order.#.order - The order of the compute environment. compute_environment_order.#.compute_environment - The ARN of the compute environment.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/batch_job_queue.html