github.com/wata727/tflint@v0.12.2-0.20191013070026-96dd0d36f385/rules/awsrules/models/mappings/batch.hcl (about)

     1  import = "aws-sdk-go/models/apis/batch/2016-08-10/api-2.json"
     2  
     3  mapping "aws_batch_compute_environment" {
     4    state = CEState
     5    type  = CEType
     6  }
     7  
     8  mapping "aws_batch_job_definition" {
     9    type = JobDefinitionType
    10  }
    11  
    12  mapping "aws_batch_job_queue" {
    13    state = JQState
    14  }
    15  
    16  test "aws_batch_compute_environment" "state" {
    17    ok = "ENABLED"
    18    ng = "ON"
    19  }
    20  
    21  test "aws_batch_compute_environment" "type" {
    22    ok = "MANAGED"
    23    ng = "CONTROLLED"
    24  }
    25  
    26  test "aws_batch_job_definition" "type" {
    27    ok = "container"
    28    ng = "docker"
    29  }
    30  
    31  test "aws_batch_job_queue" "state" {
    32    ok = "ENABLED"
    33    ng = "ON"
    34  }