Sha256: ec817a3cbb8c8266f9e9dfb71c38facfbdd7a77840215acadf040183f4b2a535
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
<% cache_clusters.each do |cache_cluster| -%> resource "aws_elasticache_cluster" "<%= module_name_of(cache_cluster) %>" { 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 -%> <%- if cache_cluster.notification_configuration -%> notification_topic_arn = "<%= cache_cluster.notification_configuration.topic_arn %>" <%- end -%> } <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
terraforming-0.18.0 | lib/terraforming/template/tf/elasti_cache_cluster.erb |