Sha256: 551cf48e43507e174ea41f6ba88c8055aa2313abb7f07365a4ad64ba487cb8ed

Contents?: true

Size: 1002 Bytes

Versions: 11

Compression:

Stored size: 1002 Bytes

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 %>
  <%- 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

11 entries across 11 versions & 1 rubygems

Version Path
terraforming-0.7.0 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.6.2 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.6.1 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.6.0 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.5.0 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.4.0 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.3.2 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.3.1 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.3.0 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.2.0 lib/terraforming/template/tf/elasti_cache_cluster.erb
terraforming-0.1.6 lib/terraforming/template/tf/elasti_cache_cluster.erb