Skip to content

Instantly share code, notes, and snippets.

@FarhanSajid1
Created May 20, 2022 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FarhanSajid1/270183fc55647d1f0e6bec4583d07c85 to your computer and use it in GitHub Desktop.
Save FarhanSajid1/270183fc55647d1f0e6bec4583d07c85 to your computer and use it in GitHub Desktop.
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)


        # (2 unchanged blocks hidden)
    }

  # aws_rds_cluster_parameter_group.env_cluster_parameter_group will be updated in-place
  ~ resource "aws_rds_cluster_parameter_group" "env_cluster_parameter_group" {
        id          = "env-aurora-postgres13-cluster-parameter-group"
        name        = "env-aurora-postgres13-cluster-parameter-group"
        tags        = {
            "Env"    = "dev"
            "Type"   = "aurora"
            "region" = "us-east-2"
        }
        # (4 unchanged attributes hidden)

      + parameter {
          + apply_method = "immediate"
          + name         = "log_autovacuum_min_duration"
          + value        = "10000"
        }
      + parameter {
          + apply_method = "immediate"
          + name         = "rds.force_ssl"
          + value        = "0"
        }
      + parameter {
          + apply_method = "immediate"
          + name         = "ssl"
          + value        = "1"
        }
      + parameter {
          + apply_method = "pending-reboot"
          + name         = "max_prepared_transactions"
          + value        = "0"
        }
        # (18 unchanged blocks hidden)
    }

Plan: 1 to add, 2 to change, 0 to destroy.
╷
│ Warning: Argument is deprecated
│ 
│   with aws_elasticache_replication_group.env_elasticache_replication_group,
│   on elasticache.tf line 13, in resource "aws_elasticache_replication_group" "env_elasticache_replication_group":
│   13:   replication_group_description = "env elasticache replication group"
│ 
│ Use description instead
│ 
│ (and 5 more similar warnings elsewhere)
╵

Do you want to perform these actions in workspace "dev"?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

aws_elasticache_replication_group.env_elasticache_replication_group: Modifying... [id=env]
aws_rds_cluster_parameter_group.env_cluster_parameter_group: Modifying... [id=env-aurora-postgres13-cluster-parameter-group]
aws_rds_cluster_parameter_group.env_cluster_parameter_group: Modifications complete after 1s [id=env-aurora-postgres13-cluster-parameter-group]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 1m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 1m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 1m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 1m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 1m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 1m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 2m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 2m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 2m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 2m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 2m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 2m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 3m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 3m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 3m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 3m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 3m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 3m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 4m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 4m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 4m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 4m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 4m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 4m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 5m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 5m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 5m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 5m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 5m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 5m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 6m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 6m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 6m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 6m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 6m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 6m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 7m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 7m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 7m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 7m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 7m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 7m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 8m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 8m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 8m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 8m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 8m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 8m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 9m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 9m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 9m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 9m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 9m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 9m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 10m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 10m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 10m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 10m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 10m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 10m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 11m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 11m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 11m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 11m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 11m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 11m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 12m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 12m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 12m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 12m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 12m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 12m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 13m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 13m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 13m20s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 13m30s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 13m40s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 13m50s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 14m0s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 14m10s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 14m21s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 14m31s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 14m41s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 14m51s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 15m1s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 15m11s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 15m21s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 15m31s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 15m41s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 15m51s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 16m1s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 16m11s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 16m21s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 16m31s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 16m41s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 16m51s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 17m1s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Still modifying... [id=env, 17m11s elapsed]
aws_elasticache_replication_group.env_elasticache_replication_group: Modifications complete after 17m19s [id=env]
aws_elasticache_cluster.env_elasticache: Creating...
aws_elasticache_cluster.env_elasticache: Still creating... [10s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [20s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [30s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [40s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [50s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [1m0s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [1m10s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [1m20s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [1m31s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [1m41s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [1m51s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [2m1s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [2m11s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [2m21s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [2m31s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [2m41s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [2m51s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [3m1s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [3m11s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [3m21s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [3m31s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [3m41s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [3m51s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [4m1s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [4m11s elapsed]
aws_elasticache_cluster.env_elasticache: Still creating... [4m21s elapsed]
aws_elasticache_cluster.env_elasticache: Creation complete after 4m27s [id=env]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment