github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/elasticache.hcl (about) 1 import = "aws-sdk-go/models/apis/elasticache/2015-02-02/api-2.json" 2 3 mapping "aws_elasticache_cluster" { 4 cluster_id = String 5 replication_group_id = String 6 engine = String 7 engine_version = String 8 maintenance_window = String 9 node_type = String 10 num_cache_nodes = IntegerOptional 11 parameter_group_name = String 12 port = IntegerOptional 13 subnet_group_name = String 14 security_group_names = CacheSecurityGroupNameList 15 security_group_ids = SecurityGroupIdsList 16 apply_immediately = Boolean 17 snapshot_arns = SnapshotArnsList 18 snapshot_name = String 19 snapshot_window = String 20 snapshot_retention_limit = IntegerOptional 21 notification_topic_arn = String 22 az_mode = AZMode 23 availability_zone = String 24 preferred_availability_zones = PreferredAvailabilityZoneList 25 tags = TagList 26 } 27 28 mapping "aws_elasticache_parameter_group" { 29 name = String 30 family = String 31 description = String 32 parameter = ParametersList 33 } 34 35 mapping "aws_elasticache_replication_group" { 36 replication_group_id = String 37 replication_group_description = String 38 number_cache_clusters = IntegerOptional 39 node_type = String 40 automatic_failover_enabled = BooleanOptional 41 auto_minor_version_upgrade = BooleanOptional 42 availability_zones = AvailabilityZonesList 43 engine = String 44 at_rest_encryption_enabled = BooleanOptional 45 transit_encryption_enabled = BooleanOptional 46 auth_token = String 47 engine_version = String 48 parameter_group_name = String 49 port = IntegerOptional 50 subnet_group_name = String 51 security_group_names = CacheSecurityGroupNameList 52 security_group_ids = SecurityGroupIdsList 53 snapshot_arns = SnapshotArnsList 54 snapshot_name = String 55 maintenance_window = String 56 notification_topic_arn = String 57 snapshot_window = String 58 snapshot_retention_limit = IntegerOptional 59 apply_immediately = Boolean 60 tags = TagList 61 } 62 63 mapping "aws_elasticache_security_group" { 64 name = String 65 description = String 66 security_group_names = CacheSecurityGroupNameList 67 } 68 69 mapping "aws_elasticache_subnet_group" { 70 name = String 71 description = String 72 subnet_ids = SubnetIdentifierList 73 } 74 75 test "aws_elasticache_cluster" "az_mode" { 76 ok = "cross-az" 77 ng = "multi-az" 78 }