From 7ade9bb963b6cbd0180d3d3d35621663f08c7710 Mon Sep 17 00:00:00 2001 From: Gaurav Sultane <31685023+gaurav172@users.noreply.github.com> Date: Tue, 14 Nov 2023 17:14:51 +0000 Subject: [PATCH] Add memcached-1.6.15 to the list of allowed memcache versions (#9375) --- mmv1/products/memcache/Instance.yaml | 3 +++ .../services/memcache/resource_memcache_instance_test.go | 2 ++ 2 files changed, 5 insertions(+) diff --git a/mmv1/products/memcache/Instance.yaml b/mmv1/products/memcache/Instance.yaml index 69b01c7aed55..732a22dce5da 100644 --- a/mmv1/products/memcache/Instance.yaml +++ b/mmv1/products/memcache/Instance.yaml @@ -149,6 +149,9 @@ properties: default_value: :MEMCACHE_1_5 values: - :MEMCACHE_1_5 + - :MEMCACHE_1_6_15 + update_url: 'projects/{{project}}/locations/{{region}}/instances/{{name}}:upgrade' + update_verb: :POST - !ruby/object:Api::Type::NestedObject name: nodeConfig description: | diff --git a/mmv1/third_party/terraform/services/memcache/resource_memcache_instance_test.go b/mmv1/third_party/terraform/services/memcache/resource_memcache_instance_test.go index 585f0f114603..32702b9c65ff 100644 --- a/mmv1/third_party/terraform/services/memcache/resource_memcache_instance_test.go +++ b/mmv1/third_party/terraform/services/memcache/resource_memcache_instance_test.go @@ -86,6 +86,8 @@ resource "google_memcache_instance" "test" { "max-item-size" = "8388608" } } + + memcache_version = "MEMCACHE_1_6_15" } data "google_compute_network" "memcache_network" {