github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/efs.hcl (about) 1 import = "aws-sdk-go/models/apis/elasticfilesystem/2015-02-01/api-2.json" 2 3 mapping "aws_efs_file_system" { 4 creation_token = CreationToken 5 encrypted = Encrypted 6 kms_key_id = KmsKeyId 7 performance_mode = PerformanceMode 8 provisioned_throughput_in_mibps = ProvisionedThroughputInMibps 9 tags = Tags 10 throughput_mode = ThroughputMode 11 } 12 13 mapping "aws_efs_mount_target" { 14 file_system_id = FileSystemId 15 subnet_id = SubnetId 16 ip_address = IpAddress 17 security_groups = SecurityGroups 18 } 19 20 test "aws_efs_file_system" "performance_mode" { 21 ok = "generalPurpose" 22 ng = "minIO" 23 } 24 25 test "aws_efs_file_system" "throughput_mode" { 26 ok = "bursting" 27 ng = "generalPurpose" 28 }