Skip to content

Commit 596c0a8

Browse files
chore(master): release 12.0.1
1 parent 9625c12 commit 596c0a8

File tree

10 files changed

+173
-179
lines changed

10 files changed

+173
-179
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
66
project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [12.0.1](https://github.com/terraform-google-modules/terraform-google-memorystore/compare/v12.0.0...v12.0.1) (2024-11-27)
9+
10+
11+
### Bug Fixes
12+
13+
* Broken module due to apphub_service_uri output ([#251](https://github.com/terraform-google-modules/terraform-google-memorystore/issues/251)) ([ebef4be](https://github.com/terraform-google-modules/terraform-google-memorystore/commit/ebef4beb36716fcde167e692375e3336da5111b7))
14+
815
## [12.0.0](https://github.com/terraform-google-modules/terraform-google-memorystore/compare/v11.1.0...v12.0.0) (2024-10-23)
916

1017

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module "memorystore" {
6060
| 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 |
6161
| redis\_version | The version of Redis software. | `string` | `null` | no |
6262
| region | The GCP region to use. | `string` | `null` | no |
63-
| replica\_count | The number of replicas. | `number` | `null` | no |
63+
| replica\_count | The number of replicas. can | `number` | `null` | no |
6464
| reserved\_ip\_range | The CIDR range of internal addresses that are reserved for this instance. | `string` | `null` | no |
6565
| secondary\_ip\_range | Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. | `string` | `null` | no |
6666
| 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 |

metadata.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
source:
2525
repo: https://github.com/terraform-google-modules/terraform-google-memorystore.git
2626
sourceType: git
27-
version: 12.0.0
27+
version: 12.0.1
2828
actuationTool:
2929
flavor: Terraform
3030
version: ">= 1.3"
@@ -52,20 +52,30 @@ spec:
5252
location: examples/valkey
5353
interfaces:
5454
variables:
55+
- name: region
56+
description: The GCP region to use.
57+
varType: string
5558
- name: project_id
5659
description: The ID of the project in which the resource belongs to.
5760
varType: string
5861
required: true
59-
- name: region
60-
description: The GCP region to use.
61-
varType: string
62+
- name: enable_apis
63+
description: Flag for enabling redis.googleapis.com in your project
64+
varType: bool
65+
defaultValue: true
6266
- name: name
6367
description: The ID of the instance or a fully qualified identifier for the instance.
6468
varType: string
6569
required: true
66-
- name: display_name
67-
description: An arbitrary and optional user-provided name for the instance.
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.
6872
varType: string
73+
connections:
74+
- source:
75+
source: github.com/terraform-google-modules/terraform-google-network//modules/vpc
76+
version: ">= 9.1.0"
77+
spec:
78+
outputExpr: network_name
6979
- name: tier
7080
description: The service tier of the instance. https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Tier
7181
varType: string
@@ -75,27 +85,8 @@ spec:
7585
varType: number
7686
defaultValue: 1
7787
- name: replica_count
78-
description: The number of replicas.
88+
description: The number of replicas. can
7989
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.
82-
varType: string
83-
connections:
84-
- source:
85-
source: github.com/terraform-google-modules/terraform-google-network//modules/vpc
86-
version: ">= 9.1.0"
87-
spec:
88-
outputExpr: network_name
89-
- name: redis_version
90-
description: The version of Redis software.
91-
varType: string
92-
- name: connect_mode
93-
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
97-
varType: bool
98-
defaultValue: true
9990
- name: read_replicas_mode
10091
description: "Read replicas mode. https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#readreplicasmode "
10192
varType: string
@@ -106,16 +97,25 @@ spec:
10697
- name: alternative_location_id
10798
description: The alternative zone where the instance will be provisioned.
10899
varType: string
100+
- name: redis_version
101+
description: The version of Redis software.
102+
varType: string
109103
- name: redis_configs
110104
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)
111105
varType: map(any)
112106
defaultValue: {}
107+
- name: display_name
108+
description: An arbitrary and optional user-provided name for the instance.
109+
varType: string
113110
- name: reserved_ip_range
114111
description: The CIDR range of internal addresses that are reserved for this instance.
115112
varType: string
116113
- name: secondary_ip_range
117114
description: Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance.
118115
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
119119
- name: labels
120120
description: The resource labels to represent user provided metadata.
121121
varType: map(string)

modules/memcache/metadata.yaml

Lines changed: 34 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-memorystore.git
2626
sourceType: git
2727
dir: /modules/memcache
28-
version: 12.0.0
28+
version: 12.0.1
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3"
@@ -46,53 +46,24 @@ spec:
4646
location: examples/valkey
4747
interfaces:
4848
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
6849
- name: authorized_network
6950
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.
7051
varType: string
71-
- name: node_count
72-
description: Number of nodes in the memcache instance.
73-
varType: number
74-
defaultValue: 1
7552
- name: cpu_count
7653
description: Number of CPUs per node
7754
varType: number
7855
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)
8656
- name: display_name
8757
description: An arbitrary and optional user-provided name for the instance.
8858
varType: string
59+
- name: enable_apis
60+
description: Flag for enabling memcache.googleapis.com in your project
61+
varType: bool
62+
defaultValue: true
8963
- name: labels
9064
description: The resource labels to represent user provided metadata.
9165
varType: map(string)
9266
defaultValue: {}
93-
- name: params
94-
description: Parameters for the memcache process
95-
varType: map(string)
9667
- name: maintenance_policy
9768
description: The maintenance policy for an instance.
9869
varType: |-
@@ -106,6 +77,35 @@ spec:
10677
nanos = number
10778
})
10879
})
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.
108+
varType: list(string)
109109
outputs:
110110
- name: discovery
111111
description: The memorystore discovery endpoint.
@@ -128,8 +128,3 @@ spec:
128128
- serviceconsumermanagement.googleapis.com
129129
- networkconnectivity.googleapis.com
130130
- compute.googleapis.com
131-
providerVersions:
132-
- source: hashicorp/google
133-
version: ">= 4.23.0, < 7"
134-
- source: hashicorp/google-beta
135-
version: ">= 4.23.0, < 7"

modules/memcache/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ terraform {
2929
}
3030

3131
provider_meta "google" {
32-
module_name = "blueprints/terraform/terraform-google-memorystore:memcache/v12.0.0"
32+
module_name = "blueprints/terraform/terraform-google-memorystore:memcache/v12.0.1"
3333
}
3434

3535
provider_meta "google-beta" {
36-
module_name = "blueprints/terraform/terraform-google-memorystore:memcache/v12.0.0"
36+
module_name = "blueprints/terraform/terraform-google-memorystore:memcache/v12.0.1"
3737
}
3838

3939
}

modules/redis-cluster/metadata.yaml

Lines changed: 38 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
repo: https://github.com/terraform-google-modules/terraform-google-memorystore.git
2626
sourceType: git
2727
dir: /modules/redis-cluster
28-
version: 12.0.0
28+
version: 12.0.1
2929
actuationTool:
3030
flavor: Terraform
3131
version: ">= 1.3"
@@ -46,42 +46,52 @@ spec:
4646
location: examples/valkey
4747
interfaces:
4848
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
4961
- name: name
5062
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
5163
varType: string
5264
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
5372
- name: project_id
5473
description: The ID of the project in which the resource belongs to.
5574
varType: string
5675
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+
})
5787
- name: region
5888
description: The name of the region of the Redis cluster
5989
varType: string
6090
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
6991
- name: replica_count
7092
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
7193
varType: number
7294
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
8595
- name: service_connection_policies
8696
description: The Service Connection Policies to create
8797
varType: |-
@@ -94,31 +104,21 @@ spec:
94104
labels = optional(map(string), {})
95105
}))
96106
defaultValue: {}
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."
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"
99113
varType: string
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-
})
114+
defaultValue: TRANSIT_ENCRYPTION_MODE_DISABLED
111115
- name: zone_distribution_config_mode
112116
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"
113117
varType: string
114118
defaultValue: MULTI_ZONE
115119
- name: zone_distribution_config_zone
116120
description: The zone for single zone Memorystore Redis cluster (Immutable)
117121
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
122122
outputs:
123123
- name: discovery_endpoints
124124
description: Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
@@ -141,6 +141,3 @@ spec:
141141
- serviceconsumermanagement.googleapis.com
142142
- networkconnectivity.googleapis.com
143143
- compute.googleapis.com
144-
providerVersions:
145-
- source: hashicorp/google
146-
version: ">= 6.0, < 7"

modules/redis-cluster/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ terraform {
2525
}
2626

2727
provider_meta "google" {
28-
module_name = "blueprints/terraform/terraform-google-memorystore:redis-cluster/v12.0.0"
28+
module_name = "blueprints/terraform/terraform-google-memorystore:redis-cluster/v12.0.1"
2929
}
3030

3131
provider_meta "google-beta" {
32-
module_name = "blueprints/terraform/terraform-google-memorystore:redis-cluster/v12.0.0"
32+
module_name = "blueprints/terraform/terraform-google-memorystore:redis-cluster/v12.0.1"
3333
}
3434

3535
}

0 commit comments

Comments
 (0)