You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: metadata.yaml
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Copyright 2024 Google LLC
1
+
# Copyright 2025 Google LLC
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
@@ -75,6 +75,16 @@ spec:
75
75
description: Redis memory size in GiB. Defaulted to 1 GiB
76
76
varType: number
77
77
defaultValue: 1
78
+
- name: redis_version
79
+
description: The version of Redis software.
80
+
varType: string
81
+
- name: connect_mode
82
+
description: The connection mode of the Redis instance. Can be either DIRECT_PEERING or PRIVATE_SERVICE_ACCESS. The default connect mode if not provided is DIRECT_PEERING.
description: The connection mode of the Redis instance. Can be either DIRECT_PEERING or PRIVATE_SERVICE_ACCESS. The default connect mode if not provided is DIRECT_PEERING.
95
-
varType: string
96
100
- name: enable_apis
97
101
description: Flag for enabling redis.googleapis.com in your project
description: The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternativeLocationId] is also provided, it must be different from [locationId].
Copy file name to clipboardExpand all lines: variables.tf
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -47,26 +47,32 @@ variable "memory_size_gb" {
47
47
default=1
48
48
}
49
49
50
-
variable"replica_count" {
51
-
description="The number of replicas."
52
-
type=number
50
+
variable"redis_version" {
51
+
description="The version of Redis software."
52
+
type=string
53
53
default=null
54
54
}
55
55
56
-
variable"authorized_network" {
57
-
description="The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used."
56
+
variable"connect_mode" {
57
+
description="The connection mode of the Redis instance. Can be either DIRECT_PEERING or PRIVATE_SERVICE_ACCESS. The default connect mode if not provided is DIRECT_PEERING."
description="The connection mode of the Redis instance. Can be either DIRECT_PEERING or PRIVATE_SERVICE_ACCESS. The default connect mode if not provided is DIRECT_PEERING."
74
+
variable"authorized_network" {
75
+
description="The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used."
description="The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. If [alternativeLocationId] is also provided, it must be different from [locationId]."
0 commit comments