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
+78-83Lines changed: 78 additions & 83 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ spec:
27
27
version: 11.1.0
28
28
actuationTool:
29
29
flavor: Terraform
30
-
version: ">= 0.13"
30
+
version: ">= 1.3"
31
31
description: {}
32
32
content:
33
33
subBlueprints:
@@ -48,41 +48,81 @@ spec:
48
48
location: examples/redis-cluster
49
49
interfaces:
50
50
variables:
51
-
- name: alternative_location_id
52
-
description: The alternative zone where the instance will be provisioned.
51
+
- name: region
52
+
description: The GCP region to use.
53
53
varType: string
54
-
- name: auth_enabled
55
-
description: Indicates whether OSS Redis AUTH is enabled for the instance. If set to true AUTH is enabled on the instance.
54
+
- name: project
55
+
description: The ID of the project in which the resource belongs to.
56
+
varType: string
57
+
required: true
58
+
- name: enable_apis
59
+
description: Flag for enabling redis.googleapis.com in your project
56
60
varType: bool
57
-
defaultValue: false
61
+
defaultValue: true
62
+
- name: name
63
+
description: The ID of the instance or a fully qualified identifier for the instance.
64
+
varType: string
65
+
required: true
58
66
- name: authorized_network
59
67
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.
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].
92
+
varType: string
93
+
- name: alternative_location_id
94
+
description: The alternative zone where the instance will be provisioned.
95
+
varType: string
96
+
- name: redis_version
97
+
description: The version of Redis software.
72
98
varType: string
99
+
- name: redis_configs
100
+
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)
101
+
varType: map(any)
102
+
defaultValue: {}
73
103
- name: display_name
74
104
description: An arbitrary and optional user-provided name for the instance.
75
105
varType: string
76
-
- name: enable_apis
77
-
description: Flag for enabling redis.googleapis.com in your project
78
-
varType: bool
79
-
defaultValue: true
106
+
- name: reserved_ip_range
107
+
description: The CIDR range of internal addresses that are reserved for this instance.
108
+
varType: string
109
+
- name: secondary_ip_range
110
+
description: Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance.
111
+
varType: string
112
+
- name: connect_mode
113
+
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.
114
+
varType: string
80
115
- name: labels
81
116
description: The resource labels to represent user provided metadata.
82
117
varType: map(string)
83
-
- name: location_id
84
-
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].
118
+
- name: auth_enabled
119
+
description: Indicates whether OSS Redis AUTH is enabled for the instance. If set to true AUTH is enabled on the instance.
120
+
varType: bool
121
+
defaultValue: false
122
+
- name: transit_encryption_mode
123
+
description: The TLS mode of the Redis instance, If not provided, TLS is enabled for the instance.
85
124
varType: string
125
+
defaultValue: SERVER_AUTHENTICATION
86
126
- name: maintenance_policy
87
127
description: The maintenance policy for an instance.
88
128
varType: |-
@@ -95,56 +135,16 @@ spec:
95
135
nanos = number
96
136
})
97
137
})
98
-
- name: memory_size_gb
99
-
description: Redis memory size in GiB. Defaulted to 1 GiB
100
-
varType: number
101
-
defaultValue: 1
102
-
- name: name
103
-
description: The ID of the instance or a fully qualified identifier for the instance.
138
+
- name: customer_managed_key
139
+
description: Default encryption key to apply to the Redis instance. Defaults to null (Google-managed).
104
140
varType: string
105
-
required: true
106
141
- name: persistence_config
107
142
description: The Redis persistence configuration parameters. https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#persistenceconfig
108
143
varType: |-
109
144
object({
110
145
persistence_mode = string
111
146
rdb_snapshot_period = string
112
147
})
113
-
- name: project
114
-
description: The ID of the project in which the resource belongs to.
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)
123
-
varType: map(any)
124
-
defaultValue: {}
125
-
- name: redis_version
126
-
description: The version of Redis software.
127
-
varType: string
128
-
- name: region
129
-
description: The GCP region to use.
130
-
varType: string
131
-
- name: replica_count
132
-
description: The number of replicas. can
133
-
varType: number
134
-
- name: reserved_ip_range
135
-
description: The CIDR range of internal addresses that are reserved for this instance.
136
-
varType: string
137
-
- name: secondary_ip_range
138
-
description: Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance.
139
-
varType: string
140
-
- name: tier
141
-
description: The service tier of the instance. https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Tier
142
-
varType: string
143
-
defaultValue: STANDARD_HA
144
-
- name: transit_encryption_mode
145
-
description: The TLS mode of the Redis instance, If not provided, TLS is enabled for the instance.
146
-
varType: string
147
-
defaultValue: SERVER_AUTHENTICATION
148
148
outputs:
149
149
- name: auth_string
150
150
description: AUTH String set on the instance. This field will only be populated if auth_enabled is true.
@@ -154,13 +154,10 @@ spec:
154
154
type: string
155
155
- name: env_vars
156
156
description: Exported environment variables
157
-
type: [
158
-
"object",
159
-
{
160
-
"REDIS_HOST": "string",
161
-
"REDIS_PORT": "number"
162
-
}
163
-
]
157
+
type:
158
+
- object
159
+
- REDIS_HOST: string
160
+
REDIS_PORT: number
164
161
- name: host
165
162
description: The IP address of the instance.
166
163
type: string
@@ -181,19 +178,14 @@ spec:
181
178
type: string
182
179
- name: server_ca_certs
183
180
description: List of server CA certificates for the instance
0 commit comments