Data Source: aws_batch_job_definition

Terraform data source for managing an AWS Batch Job Definition.

Example Usage

Lookup via Arn

data "aws_batch_job_definition" "arn" {
  arn = "arn:aws:batch:us-east-1:012345678910:job-definition/example"
}

Lookup via Name

data "aws_batch_job_definition" "name" {
  name     = "example"
  revision = 2
}

Argument Reference

The following arguments are optional:

Attribute Reference

This data source exports the following attributes in addition to the arguments above:

eks_properties

pod_properties

eks_container

eks_metadata

eks_volumes

eks_volume_empty_dir

eks_volume_host_path

eks_volume_secret

eks_environment

eks_resources

eks_security_context

eks_volume_mounts

node_properties

node_range_properties

container

environment

ephemeral_storage

fargate_platform_configuration

linux_parameters

log_configuration

network_configuration

mount_points

resource_requirements

secrets

ulimits

runtime_platform

secret_options

devices

tmpfs

volumes

host

efs_volume_configuration

authorization_config

retry_strategy

evaluate_on_exit

timeout