github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/cur.hcl (about)

     1  import = "aws-sdk-go/models/apis/cur/2017-01-06/api-2.json"
     2  
     3  mapping "aws_cur_report_definition" {
     4    report_name = ReportName
     5    time_unit   = TimeUnit
     6    format      = ReportFormat
     7    compression = CompressionFormat
     8    s3_bucket   = S3Bucket
     9    s3_prefix   = S3Prefix
    10    s3_region   = AWSRegion
    11  }
    12  
    13  test "aws_cur_report_definition" "report_name" {
    14    ok = "example-cur-report-definition"
    15    ng = "example/cur-report-definition"
    16  }
    17  
    18  test "aws_cur_report_definition" "time_unit" {
    19    ok = "HOURLY"
    20    ng = "FORNIGHTLY"
    21  }
    22  
    23  test "aws_cur_report_definition" "format" {
    24    ok = "textORcsv"
    25    ng = "textORjson"
    26  }
    27  
    28  test "aws_cur_report_definition" "compression" {
    29    ok = "ZIP"
    30    ng = "TAR"
    31  }
    32  
    33  test "aws_cur_report_definition" "s3_region" {
    34    ok = "us-east-1"
    35    ng = "us-gov-east-1"
    36  }