Closed PatMyron closed 2 years ago
https://github.com/aws-cloudformation/cfn-lint/issues/19, https://github.com/terraform-linters/tflint-ruleset-aws/pull/309 Inspired by @wata727's tflint rules, an informational rule flagging these for the most popular instance-based services: https://aws.amazon.com/ec2/previous-generation/
tflint
https://aws.amazon.com/rds/previous-generation/:
AWS::RDS::DBInstance.DBInstanceClass
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html:
AWS::OpenSearchService::Domain.ClusterConfig.InstanceType
AWS::Elasticsearch::Domain.ElasticsearchClusterConfig.InstanceType
https://aws.amazon.com/elasticache/previous-generation/:
AWS::ElastiCache::CacheCluster.CacheNodeType
AWS::ElastiCache::GlobalReplicationGroup.CacheNodeType
AWS::ElastiCache::ReplicationGroup.CacheNodeType
One consideration is that updating some of these values for existing resources causes interruptions
could also add https://aws.amazon.com/redshift/pricing/:
AWS::Redshift::Cluster.NodeType
https://aws.amazon.com/cloudsearch/pricing/ https://aws.amazon.com/ebs/previous-generation/ https://aws.amazon.com/gamelift/previous-generation/ https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-supported-instance-types.html
would look something like:
https://github.com/aws-cloudformation/cfn-lint/issues/19, https://github.com/terraform-linters/tflint-ruleset-aws/pull/309 Inspired by @wata727's
tflint
rules, an informational rule flagging these for the most popular instance-based services: https://aws.amazon.com/ec2/previous-generation/https://aws.amazon.com/rds/previous-generation/:
AWS::RDS::DBInstance.DBInstanceClass
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html:
AWS::OpenSearchService::Domain.ClusterConfig.InstanceType
AWS::Elasticsearch::Domain.ElasticsearchClusterConfig.InstanceType
https://aws.amazon.com/elasticache/previous-generation/:
AWS::ElastiCache::CacheCluster.CacheNodeType
AWS::ElastiCache::GlobalReplicationGroup.CacheNodeType
AWS::ElastiCache::ReplicationGroup.CacheNodeType
One consideration is that updating some of these values for existing resources causes interruptions
could also add https://aws.amazon.com/redshift/pricing/:
AWS::Redshift::Cluster.NodeType
https://aws.amazon.com/cloudsearch/pricing/https://aws.amazon.com/ebs/previous-generation/ https://aws.amazon.com/gamelift/previous-generation/ https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-supported-instance-types.html