Skip to content

Instantly share code, notes, and snippets.

@FarhanSajid1
FarhanSajid1 / elasticache_plan.md
Created May 20, 2022 02:39
Output when trying to resize elasticache node_type

  # aws_elasticache_replication_group.env_elasticache_replication_group will be updated in-place
  ~ resource "aws_elasticache_replication_group" "env_elasticache_replication_group" {
      ~ apply_immediately             = false -> true
        id                            = "env"
      ~ node_type                     = "cache.t2.medium" -> "cache.m4.large"
        tags                          = {}
        # (31 unchanged attributes hidden)
@FarhanSajid1
FarhanSajid1 / gist:2f37a172f783daee25c9f7026bc9d1fd
Created February 6, 2022 00:06
Example highlighting the issue where not all keyspace notifications are sent during a test
package server
import (
"context"
"fmt"
"github.com/go-redis/redis/v8"
"regexp"
"strings"
)