github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/config.hcl (about) 1 import = "aws-sdk-go/models/apis/config/2014-11-12/api-2.json" 2 3 mapping "aws_config_aggregate_authorization" { 4 account_id = AccountId 5 region = AwsRegion 6 } 7 8 mapping "aws_config_configuration_aggregator" { 9 name = ConfigurationAggregatorName 10 } 11 12 mapping "aws_config_config_rule" { 13 name = ConfigRuleName 14 description = EmptiableStringWithCharLimit256 15 input_parameters = StringWithCharLimit1024 16 maximum_execution_frequency = MaximumExecutionFrequency 17 } 18 19 mapping "aws_config_configuration_recorder" { 20 name = RecorderName 21 } 22 23 mapping "aws_config_configuration_recorder_status" { 24 name = RecorderName 25 } 26 27 mapping "aws_config_organization_managed_rule" { 28 name = StringWithCharLimit64 29 rule_identifier = StringWithCharLimit256 30 description = StringWithCharLimit256Min0 31 excluded_accounts = ExcludedAccounts 32 input_parameters = StringWithCharLimit2048 33 maximum_execution_frequency = MaximumExecutionFrequency 34 resource_id_scope = StringWithCharLimit768 35 resource_types_scope = ResourceTypesScope 36 tag_key_scope = StringWithCharLimit128 37 tag_value_scope = StringWithCharLimit256 38 } 39 40 mapping "aws_config_organization_custom_rule" { 41 lambda_function_arn = StringWithCharLimit256 42 name = StringWithCharLimit64 43 trigger_types = OrganizationConfigRuleTriggerTypes 44 description = StringWithCharLimit256Min0 45 excluded_accounts = ExcludedAccounts 46 input_parameters = StringWithCharLimit2048 47 maximum_execution_frequency = MaximumExecutionFrequency 48 resource_id_scope = StringWithCharLimit768 49 resource_types_scope = ResourceTypesScope 50 tag_key_scope = StringWithCharLimit128 51 tag_value_scope = StringWithCharLimit256 52 } 53 54 mapping "aws_config_delivery_channel" { 55 name = ChannelName 56 } 57 58 test "aws_config_aggregate_authorization" "account_id" { 59 ok = "012345678910" 60 ng = "01234567891" 61 } 62 63 test "aws_config_configuration_aggregator" "name" { 64 ok = "example" 65 ng = "example.com" 66 } 67 68 test "aws_config_config_rule" "maximum_execution_frequency" { 69 ok = "One_Hour" 70 ng = "Hour" 71 }