Skip to content

desired_psc_auto_connections and discovery_endpoints is deprecated. Fix in valkey module #314

@red8888

Description

@red8888

TL;DR

│ `desired_psc_auto_connections` is deprecated  Use `desired_auto_created_endpoints` instead.
│ The attribute "discovery_endpoints" is deprecated. Refer to the provider documentation for details.

Expected behavior

No deprecation warning

Observed behavior

When using valkey module:

│ `desired_psc_auto_connections` is deprecated  Use `desired_auto_created_endpoints` instead.
│ The attribute "discovery_endpoints" is deprecated. Refer to the provider documentation for details.

Terraform Configuration

module "sdfsdf" {
  source                      = "terraform-google-modules/memorystore/google//modules/valkey"
  instance_id                 = "sdfsdfds"
  project_id                  = var.project_id
  location                    = "us-central1"
  node_type                   = "HIGHMEM_MEDIUM"
  deletion_protection_enabled = false
  engine_version              = "VALKEY_8_0"
  network_project = data.google_compute_network.sss.project
  network         = data.google_compute_network.sss.name
  persistence_config = {
    mode = "RDB"
    rdb_config = {
      rdb_snapshot_period     = "ONE_HOUR"
      rdb_snapshot_start_time = "2024-10-02T15:01:23Z"
    }
  }
  engine_configs = {
    maxmemory-policy = "volatile-ttl"
  }
  weekly_maintenance_window = [
    {
      day_of_week     = "MONDAY"
      start_time_hour = "23"
    }
  ]
  automated_backup_config = {
    start_time = "20"
    retention  = "86400s"
  }
}

Terraform Version

Terraform v1.9.5
on darwin_arm64
+ provider registry.terraform.io/hashicorp/google v6.43.0
+ provider registry.terraform.io/hashicorp/google-beta v6.43.0

Terraform Provider Versions

Terraform v1.9.5
on darwin_arm64
+ provider registry.terraform.io/hashicorp/google v6.43.0
+ provider registry.terraform.io/hashicorp/google-beta v6.43.0

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions