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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ module "memorystore" {
60
60
| redis\_configs | The Redis configuration parameters. See [more details](https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs)|`map(any)`|`{}`| no |
61
61
| redis\_version | The version of Redis software. |`string`|`null`| no |
62
62
| region | The GCP region to use. |`string`|`null`| no |
63
-
| replica\_count | The number of replicas. can |`number`|`null`| no |
63
+
| replica\_count | The number of replicas. |`number`|`null`| no |
64
64
| reserved\_ip\_range | The CIDR range of internal addresses that are reserved for this instance. |`string`|`null`| no |
65
65
| secondary\_ip\_range | Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. |`string`|`null`| no |
66
66
| tier | The service tier of the instance. https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Tier|`string`|`"STANDARD_HA"`| no |
Copy file name to clipboardExpand all lines: metadata.yaml
+25-25Lines changed: 25 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -52,30 +52,20 @@ spec:
52
52
location: examples/valkey
53
53
interfaces:
54
54
variables:
55
-
- name: region
56
-
description: The GCP region to use.
57
-
varType: string
58
55
- name: project_id
59
56
description: The ID of the project in which the resource belongs to.
60
57
varType: string
61
58
required: true
62
-
- name: enable_apis
63
-
description: Flag for enabling redis.googleapis.com in your project
64
-
varType: bool
65
-
defaultValue: true
59
+
- name: region
60
+
description: The GCP region to use.
61
+
varType: string
66
62
- name: name
67
63
description: The ID of the instance or a fully qualified identifier for the instance.
68
64
varType: string
69
65
required: true
70
-
- name: authorized_network
71
-
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.
66
+
- name: display_name
67
+
description: An arbitrary and optional user-provided name for the instance.
description: The service tier of the instance. https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Tier
81
71
varType: string
@@ -85,8 +75,27 @@ spec:
85
75
varType: number
86
76
defaultValue: 1
87
77
- name: replica_count
88
-
description: The number of replicas. can
78
+
description: The number of replicas.
89
79
varType: number
80
+
- name: authorized_network
81
+
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 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.
94
+
varType: string
95
+
- name: enable_apis
96
+
description: Flag for enabling redis.googleapis.com in your project
description: The alternative zone where the instance will be provisioned.
99
108
varType: string
100
-
- name: redis_version
101
-
description: The version of Redis software.
102
-
varType: string
103
109
- name: redis_configs
104
110
description: The Redis configuration parameters. See [more details](https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs)
105
111
varType: map(any)
106
112
defaultValue: {}
107
-
- name: display_name
108
-
description: An arbitrary and optional user-provided name for the instance.
109
-
varType: string
110
113
- name: reserved_ip_range
111
114
description: The CIDR range of internal addresses that are reserved for this instance.
112
115
varType: string
113
116
- name: secondary_ip_range
114
117
description: Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance.
115
118
varType: string
116
-
- name: connect_mode
117
-
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.
118
-
varType: string
119
119
- name: labels
120
120
description: The resource labels to represent user provided metadata.
Copy file name to clipboardExpand all lines: modules/memcache/metadata.yaml
+38-33Lines changed: 38 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -46,24 +46,53 @@ spec:
46
46
location: examples/valkey
47
47
interfaces:
48
48
variables:
49
+
- name: region
50
+
description: The GCP region to use.
51
+
varType: string
52
+
required: true
53
+
- name: project_id
54
+
description: The ID of the project in which the resource belongs to.
55
+
varType: string
56
+
required: true
57
+
- name: enable_apis
58
+
description: Flag for enabling memcache.googleapis.com in your project
59
+
varType: bool
60
+
defaultValue: true
61
+
- name: name
62
+
description: The ID of the instance or a fully qualified identifier for the instance.
63
+
varType: string
64
+
required: true
65
+
- name: memcache_version
66
+
description: The major version of Memcached software.
67
+
varType: string
49
68
- name: authorized_network
50
69
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.
51
70
varType: string
71
+
- name: node_count
72
+
description: Number of nodes in the memcache instance.
73
+
varType: number
74
+
defaultValue: 1
52
75
- name: cpu_count
53
76
description: Number of CPUs per node
54
77
varType: number
55
78
defaultValue: 1
79
+
- name: memory_size_mb
80
+
description: Memcache memory size in MiB. Defaulted to 1024
81
+
varType: number
82
+
defaultValue: 1024
83
+
- name: zones
84
+
description: Zones where memcache nodes should be provisioned. If not provided, all zones will be used.
85
+
varType: list(string)
56
86
- name: display_name
57
87
description: An arbitrary and optional user-provided name for the instance.
58
88
varType: string
59
-
- name: enable_apis
60
-
description: Flag for enabling memcache.googleapis.com in your project
61
-
varType: bool
62
-
defaultValue: true
63
89
- name: labels
64
90
description: The resource labels to represent user provided metadata.
65
91
varType: map(string)
66
92
defaultValue: {}
93
+
- name: params
94
+
description: Parameters for the memcache process
95
+
varType: map(string)
67
96
- name: maintenance_policy
68
97
description: The maintenance policy for an instance.
69
98
varType: |-
@@ -77,35 +106,6 @@ spec:
77
106
nanos = number
78
107
})
79
108
})
80
-
- name: memcache_version
81
-
description: The major version of Memcached software.
82
-
varType: string
83
-
- name: memory_size_mb
84
-
description: Memcache memory size in MiB. Defaulted to 1024
85
-
varType: number
86
-
defaultValue: 1024
87
-
- name: name
88
-
description: The ID of the instance or a fully qualified identifier for the instance.
89
-
varType: string
90
-
required: true
91
-
- name: node_count
92
-
description: Number of nodes in the memcache instance.
93
-
varType: number
94
-
defaultValue: 1
95
-
- name: params
96
-
description: Parameters for the memcache process
97
-
varType: map(string)
98
-
- name: project_id
99
-
description: The ID of the project in which the resource belongs to.
100
-
varType: string
101
-
required: true
102
-
- name: region
103
-
description: The GCP region to use.
104
-
varType: string
105
-
required: true
106
-
- name: zones
107
-
description: Zones where memcache nodes should be provisioned. If not provided, all zones will be used.
Copy file name to clipboardExpand all lines: modules/redis-cluster/metadata.yaml
+40-37Lines changed: 40 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -46,52 +46,42 @@ spec:
46
46
location: examples/valkey
47
47
interfaces:
48
48
variables:
49
-
- name: authorization_mode
50
-
description: "The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED"
51
-
varType: string
52
-
defaultValue: AUTH_MODE_DISABLED
53
-
- name: deletion_protection_enabled
54
-
description: " Indicates if the cluster is deletion protected or not. If the value if set to true, any delete cluster operation will fail. Default value is true"
55
-
varType: bool
56
-
defaultValue: true
57
-
- name: enable_apis
58
-
description: Flag for enabling memcache.googleapis.com in your project
59
-
varType: bool
60
-
defaultValue: true
61
49
- name: name
62
50
description: The ID of the instance or a fully qualified identifier for the instance. must be 1 to 63 characters and use only lowercase letters, numbers, or hyphens. It must start with a lowercase letter and end with a lowercase letter or number
63
51
varType: string
64
52
required: true
65
-
- name: network
66
-
description: List of consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}. Currently, only one item is supported
67
-
varType: list(string)
68
-
required: true
69
-
- name: node_type
70
-
description: "The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values are: REDIS_SHARED_CORE_NANO, REDIS_HIGHMEM_MEDIUM, REDIS_HIGHMEM_XLARGE, REDIS_STANDARD_SMALL."
71
-
varType: string
72
53
- name: project_id
73
54
description: The ID of the project in which the resource belongs to.
74
55
varType: string
75
56
required: true
76
-
- name: redis_configs
77
-
description: Configure Redis Cluster behavior using a subset of native Redis configuration parameters
78
-
varType: |-
79
-
object({
80
-
maxmemory-clients = optional(string)
81
-
maxmemory = optional(string)
82
-
maxmemory-policy = optional(string)
83
-
notify-keyspace-events = optional(string)
84
-
slowlog-log-slower-than = optional(number)
85
-
maxclients = optional(number)
86
-
})
87
57
- name: region
88
58
description: The name of the region of the Redis cluster
89
59
varType: string
90
60
required: true
61
+
- name: enable_apis
62
+
description: Flag for enabling memcache.googleapis.com in your project
63
+
varType: bool
64
+
defaultValue: true
65
+
- name: shard_count
66
+
description: Required. Number of shards for the Redis cluster. The minimum number of shards in a Memorystore cluster is 3 shards
67
+
varType: number
68
+
defaultValue: 3
91
69
- name: replica_count
92
70
description: The number of replica nodes per shard. Each shard can have 0, 1, or 2 replica nodes. Replicas provide high availability and additional read throughput, and are evenly distributed across zones
93
71
varType: number
94
72
defaultValue: 0
73
+
- name: transit_encryption_mode
74
+
description: "The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION"
75
+
varType: string
76
+
defaultValue: TRANSIT_ENCRYPTION_MODE_DISABLED
77
+
- name: authorization_mode
78
+
description: "The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED"
79
+
varType: string
80
+
defaultValue: AUTH_MODE_DISABLED
81
+
- name: network
82
+
description: List of consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}. Currently, only one item is supported
83
+
varType: list(string)
84
+
required: true
95
85
- name: service_connection_policies
96
86
description: The Service Connection Policies to create
97
87
varType: |-
@@ -104,21 +94,31 @@ spec:
104
94
labels = optional(map(string), {})
105
95
}))
106
96
defaultValue: {}
107
-
- name: shard_count
108
-
description: Required. Number of shards for the Redis cluster. The minimum number of shards in a Memorystore cluster is 3 shards
109
-
varType: number
110
-
defaultValue: 3
111
-
- name: transit_encryption_mode
112
-
description: "The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION"
97
+
- name: node_type
98
+
description: "The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values are: REDIS_SHARED_CORE_NANO, REDIS_HIGHMEM_MEDIUM, REDIS_HIGHMEM_XLARGE, REDIS_STANDARD_SMALL."
113
99
varType: string
114
-
defaultValue: TRANSIT_ENCRYPTION_MODE_DISABLED
100
+
- name: redis_configs
101
+
description: Configure Redis Cluster behavior using a subset of native Redis configuration parameters
102
+
varType: |-
103
+
object({
104
+
maxmemory-clients = optional(string)
105
+
maxmemory = optional(string)
106
+
maxmemory-policy = optional(string)
107
+
notify-keyspace-events = optional(string)
108
+
slowlog-log-slower-than = optional(number)
109
+
maxclients = optional(number)
110
+
})
115
111
- name: zone_distribution_config_mode
116
112
description: "The mode for zone distribution for Memorystore Redis cluster (Immutable). If not provided, MULTI_ZONE will be used as default value. Possible values are: MULTI_ZONE, SINGLE_ZONE"
117
113
varType: string
118
114
defaultValue: MULTI_ZONE
119
115
- name: zone_distribution_config_zone
120
116
description: The zone for single zone Memorystore Redis cluster (Immutable)
121
117
varType: string
118
+
- name: deletion_protection_enabled
119
+
description: " Indicates if the cluster is deletion protected or not. If the value if set to true, any delete cluster operation will fail. Default value is true"
120
+
varType: bool
121
+
defaultValue: true
122
122
outputs:
123
123
- name: discovery_endpoints
124
124
description: Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
0 commit comments