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

     1  import = "aws-sdk-go/models/apis/cloud9/2017-09-23/api-2.json"
     2  
     3  mapping "aws_cloud9_environment_ec2" {
     4    name                        = EnvironmentName
     5    instance_type               = InstanceType
     6    automatic_stop_time_minutes = AutomaticStopTimeMinutes
     7    description                 = EnvironmentDescription
     8    owner_arn                   = UserArn
     9    subnet_id                   = SubnetId
    10  }
    11  
    12  test "aws_cloud9_environment_ec2" "instance_type" {
    13    ok = "t2.micro"
    14    ng = "t20.micro"
    15  }
    16  
    17  test "aws_cloud9_environment_ec2" "owner_arn" {
    18    ok = "arn:aws:iam::123456789012:user/David"
    19    ng = "arn:aws:elasticbeanstalk:us-east-1:123456789012:environment/My App/MyEnvironment"
    20  }