github.com/wata727/tflint@v0.12.2-0.20191013070026-96dd0d36f385/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 = "MONTHLY"
    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_prefix" {
    34    ok = "example"
    35    ng = "example\n"
    36  }
    37  
    38  test "aws_cur_report_definition" "s3_region" {
    39    ok = "us-east-1"
    40    ng = "us-gov-east-1"
    41  }