@@ -271,40 +271,6 @@ func TestAccRedisInstance_redisInstanceAuthEnabled(t *testing.T) {
271
271
})
272
272
}
273
273
274
- func TestAccRedisInstance_selfServiceUpdate (t * testing.T ) {
275
- t .Parallel ()
276
-
277
- context := map [string ]interface {}{
278
- "random_suffix" : acctest .RandString (t , 10 ),
279
- }
280
-
281
- acctest .VcrTest (t , resource.TestCase {
282
- PreCheck : func () { acctest .AccTestPreCheck (t ) },
283
- ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories (t ),
284
- CheckDestroy : testAccCheckRedisInstanceDestroyProducer (t ),
285
- Steps : []resource.TestStep {
286
- {
287
- Config : testAccRedisInstance_selfServiceUpdate20240411_00_00 (context ),
288
- },
289
- {
290
- ResourceName : "google_redis_instance.cache" ,
291
- ImportState : true ,
292
- ImportStateVerify : true ,
293
- ImportStateVerifyIgnore : []string {"region" },
294
- },
295
- {
296
- Config : testAccRedisInstance_selfServiceUpdate20240503_00_00 (context ),
297
- },
298
- {
299
- ResourceName : "google_redis_instance.cache" ,
300
- ImportState : true ,
301
- ImportStateVerify : true ,
302
- ImportStateVerifyIgnore : []string {"region" },
303
- },
304
- },
305
- })
306
- }
307
-
308
274
func TestAccRedisInstance_downgradeRedisVersion (t * testing.T ) {
309
275
t .Parallel ()
310
276
@@ -424,26 +390,6 @@ resource "google_redis_instance" "cache" {
424
390
` , context )
425
391
}
426
392
427
- func testAccRedisInstance_selfServiceUpdate20240411_00_00 (context map [string ]interface {}) string {
428
- return acctest .Nprintf (`
429
- resource "google_redis_instance" "cache" {
430
- name = "tf-test-memory-cache%{random_suffix}"
431
- memory_size_gb = 1
432
- maintenance_version = "20240411_00_00"
433
- }
434
- ` , context )
435
- }
436
-
437
- func testAccRedisInstance_selfServiceUpdate20240503_00_00 (context map [string ]interface {}) string {
438
- return acctest .Nprintf (`
439
- resource "google_redis_instance" "cache" {
440
- name = "tf-test-memory-cache%{random_suffix}"
441
- memory_size_gb = 1
442
- maintenance_version = "20240503_00_00"
443
- }
444
- ` , context )
445
- }
446
-
447
393
func testAccRedisInstance_redis5 (name string ) string {
448
394
return fmt .Sprintf (`
449
395
resource "google_redis_instance" "test" {
0 commit comments