lib/convection/model/template/resource/aws_elasticache_cluster.rb in convection-0.2.18 vs lib/convection/model/template/resource/aws_elasticache_cluster.rb in convection-0.2.19

- old
+ new

@@ -6,10 +6,12 @@ class Resource ## # AWS::ElastiCache::CacheCluster ## class ElastiCacheCluster < Resource + include Mixin::Taggable + type 'AWS::ElastiCache::CacheCluster', :elasticache_cache_cluster property :auto_minor_version_upgrade, 'AutoMinorVersionUpgrade' property :cache_node_type, 'CacheNodeType' property :cache_security_group_names, 'CacheSecurityGroupNames' property :cache_parameter_group_name, 'CacheParameterGroupName' @@ -17,9 +19,15 @@ property :cluster_name, 'ClusterName' property :engine, 'Engine' property :engine_version, 'EngineVersion' property :num_cache_nodes, 'NumCacheNodes' property :vpc_security_group_ids, 'VpcSecurityGroupIds' + + def render(*args) + super.tap do |resource| + render_tags(resource) + end + end end end end end end