Sha256: 503244c0d3fe6df169a590c77268f5c9640526ecefaa50e2c07852f9413659fb
Contents?: true
Size: 1.07 KB
Versions: 6
Compression:
Stored size: 1.07 KB
Contents
<% cache_clusters.each do |cache_cluster| -%> resource "aws_elasticache_cluster" "<%= cache_cluster.cache_cluster_id %>" { cluster_id = "<%= cache_cluster.cache_cluster_id %>" engine = "<%= cache_cluster.engine %>" engine_version = "<%= cache_cluster.engine_version %>" node_type = "<%= cache_cluster.cache_node_type %>" num_cache_nodes = <%= cache_cluster.num_cache_nodes %> parameter_group_name = "<%= cache_cluster.cache_parameter_group.cache_parameter_group_name %>" <%- if cache_cluster.configuration_endpoint -%> port = <%= cache_cluster.configuration_endpoint.port %> <%- else -%> port = <%= cache_cluster.cache_nodes[0].endpoint.port %> <%- end -%> <%- if cluster_in_vpc?(cache_cluster) -%> subnet_group_name = "<%= cache_cluster.cache_subnet_group_name %>" security_group_ids = <%= security_group_ids_of(cache_cluster).inspect %> <%- else -%> security_group_names = <%= security_group_names_of(cache_cluster).inspect %> <%- end -%> } <% end -%>
Version data entries
6 entries across 6 versions & 1 rubygems