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: modules/backup/metadata.yaml
+1-11Lines changed: 1 addition & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ spec:
26
26
actuationTool:
27
27
type: Terraform
28
28
version: '>= 0.13'
29
+
description: {}
29
30
examples:
30
31
- name: mssql-public
31
32
location: examples/mssql-public
@@ -50,37 +51,30 @@ spec:
50
51
description: The number of days backups should be kept
51
52
type: number
52
53
default: 30
53
-
required: false
54
54
- name: backup_schedule
55
55
description: The cron schedule to execute the internal backup
56
56
type: string
57
57
default: 45 2 * * *
58
-
required: false
59
58
- name: compress_export
60
59
description: Whether or not to compress the export when storing in the bucket; Only valid for MySQL and PostgreSQL
61
60
type: bool
62
61
default: true
63
-
required: false
64
62
- name: enable_export_backup
65
63
description: Weather to create exports to GCS Buckets with this module
66
64
type: bool
67
65
default: true
68
-
required: false
69
66
- name: enable_internal_backup
70
67
description: Wether to create internal backups with this module
71
68
type: bool
72
69
default: true
73
-
required: false
74
70
- name: export_databases
75
71
description: The list of databases that should be exported - if is an empty set all databases will be exported
76
72
type: set(string)
77
73
default: []
78
-
required: false
79
74
- name: export_schedule
80
75
description: The cron schedule to execute the export to GCS
81
76
type: string
82
77
default: 15 3 * * *
83
-
required: false
84
78
- name: export_uri
85
79
description: The bucket and path uri for exporting to GCS
86
80
type: string
@@ -93,16 +87,13 @@ spec:
93
87
description: The region where to run the workflow
94
88
type: string
95
89
default: us-central1
96
-
required: false
97
90
- name: scheduler_timezone
98
91
description: The Timezone in which the Scheduler Jobs are triggered
99
92
type: string
100
93
default: Etc/GMT
101
-
required: false
102
94
- name: service_account
103
95
description: The service account to use for running the workflow and triggering the workflow by Cloud Scheduler - If empty or null a service account will be created. If you have provided a service account you need to grant the Cloud SQL Admin and the Workflows Invoker role to that
104
96
type: string
105
-
required: false
106
97
- name: sql_instance
107
98
description: The name of the SQL instance to backup
108
99
type: string
@@ -111,7 +102,6 @@ spec:
111
102
description: Unique suffix to add to scheduler jobs and workflows names.
112
103
type: string
113
104
default: ""
114
-
required: false
115
105
outputs:
116
106
- name: backup_workflow_name
117
107
description: The name for internal backup workflow
Copy file name to clipboardExpand all lines: modules/mssql/metadata.yaml
+1-39Lines changed: 1 addition & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ spec:
27
27
actuationTool:
28
28
type: Terraform
29
29
version: '>= 0.13'
30
+
description: {}
30
31
examples:
31
32
- name: mssql-public
32
33
location: examples/mssql-public
@@ -51,12 +52,10 @@ spec:
51
52
description: The activation policy for the master instance.Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`.
52
53
type: string
53
54
default: ALWAYS
54
-
required: false
55
55
- name: active_directory_config
56
56
description: Active domain that the SQL instance will join.
57
57
type: map(string)
58
58
default: {}
59
-
required: false
60
59
- name: additional_databases
61
60
description: A list of databases to be created in your cluster
62
61
type: |-
@@ -66,7 +65,6 @@ spec:
66
65
collation = string
67
66
}))
68
67
default: []
69
-
required: false
70
68
- name: additional_users
71
69
description: A list of users to be created in your cluster. A random password would be set for the user if the `random_password` variable is set.
72
70
type: |-
@@ -76,12 +74,10 @@ spec:
76
74
random_password = bool
77
75
}))
78
76
default: []
79
-
required: false
80
77
- name: availability_type
81
78
description: The availability type for the master instance.This is only used to set up high availability for the MSSQL instance. Can be either `ZONAL` or `REGIONAL`.
82
79
type: string
83
80
default: ZONAL
84
-
required: false
85
81
- name: backup_configuration
86
82
description: The database backup configuration.
87
83
type: |-
@@ -102,12 +98,10 @@ spec:
102
98
retention_unit: null
103
99
start_time: null
104
100
transaction_log_retention_days: null
105
-
required: false
106
101
- name: create_timeout
107
102
description: The optional timeout that is applied to limit long database creates.
108
103
type: string
109
104
default: 30m
110
-
required: false
111
105
- name: database_flags
112
106
description: The database flags for the master instance. See [more details](https://cloud.google.com/sql/docs/sqlserver/flags)
113
107
type: |-
@@ -116,42 +110,34 @@ spec:
116
110
value = string
117
111
}))
118
112
default: []
119
-
required: false
120
113
- name: database_version
121
114
description: 'The database version to use: SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB'
122
115
type: string
123
116
default: SQLSERVER_2017_STANDARD
124
-
required: false
125
117
- name: db_charset
126
118
description: The charset for the default database
127
119
type: string
128
120
default: ""
129
-
required: false
130
121
- name: db_collation
131
122
description: 'The collation for the default database. Example: ''en_US.UTF8'''
132
123
type: string
133
124
default: ""
134
-
required: false
135
125
- name: db_name
136
126
description: The name of the default database to create
137
127
type: string
138
128
default: default
139
-
required: false
140
129
- name: delete_timeout
141
130
description: The optional timeout that is applied to limit long database deletes.
142
131
type: string
143
132
default: 30m
144
-
required: false
145
133
- name: deletion_protection
146
134
description: Used to block Terraform from deleting a SQL Instance.
147
135
type: bool
148
136
default: true
149
-
required: false
150
137
- name: deletion_protection_enabled
151
138
description: Enables protection of an instance from accidental deletion protection across all surfaces (API, gcloud, Cloud Console and Terraform).
152
139
type: bool
153
140
default: false
154
-
required: false
155
141
- name: deny_maintenance_period
156
142
description: The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/sqlserver/maintenance)
157
143
type: |-
@@ -161,35 +147,28 @@ spec:
161
147
time = string
162
148
}))
163
149
default: []
164
-
required: false
165
150
- name: disk_autoresize
166
151
description: Configuration to increase storage size.
167
152
type: bool
168
153
default: true
169
-
required: false
170
154
- name: disk_autoresize_limit
171
155
description: The maximum size to which storage can be auto increased.
172
156
type: number
173
157
default: 0
174
-
required: false
175
158
- name: disk_size
176
159
description: The disk size for the master instance.
177
160
type: number
178
161
default: 10
179
-
required: false
180
162
- name: disk_type
181
163
description: The disk type for the master instance.
182
164
type: string
183
165
default: PD_SSD
184
-
required: false
185
166
- name: encryption_key_name
186
167
description: The full path to the encryption key used for the CMEK disk encryption
187
168
type: string
188
-
required: false
189
169
- name: follow_gae_application
190
170
description: A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
191
171
type: string
192
-
required: false
193
172
- name: ip_configuration
194
173
description: The ip configuration for the master instances.
195
174
type: |-
@@ -206,27 +185,22 @@ spec:
206
185
ipv4_enabled: true
207
186
private_network: null
208
187
require_ssl: null
209
-
required: false
210
188
- name: maintenance_window_day
211
189
description: The day of week (1-7) for the master instance maintenance.
212
190
type: number
213
191
default: 1
214
-
required: false
215
192
- name: maintenance_window_hour
216
193
description: The hour of day (0-23) maintenance window for the master instance maintenance.
217
194
type: number
218
195
default: 23
219
-
required: false
220
196
- name: maintenance_window_update_track
221
197
description: The update track of maintenance window for the master instance maintenance.Can be either `canary` or `stable`.
222
198
type: string
223
199
default: canary
224
-
required: false
225
200
- name: module_depends_on
226
201
description: List of modules or resources this module depends on.
227
202
type: list(any)
228
203
default: []
229
-
required: false
230
204
- name: name
231
205
description: The name of the Cloud SQL resources
232
206
type: string
@@ -235,7 +209,6 @@ spec:
235
209
description: The pricing plan for the master instance.
236
210
type: string
237
211
default: PER_USE
238
-
required: false
239
212
- name: project_id
240
213
description: The project ID to manage the Cloud SQL resources
241
214
type: string
@@ -244,56 +217,45 @@ spec:
244
217
description: Sets random suffix at the end of the Cloud SQL resource name
245
218
type: bool
246
219
default: false
247
-
required: false
248
220
- name: region
249
221
description: The region of the Cloud SQL resources
250
222
type: string
251
223
default: us-central1
252
-
required: false
253
224
- name: root_password
254
225
description: MSSERVER password for the root user. If not set, a random one will be generated and available in the root_password output variable.
255
226
type: string
256
227
default: ""
257
-
required: false
258
228
- name: secondary_zone
259
229
description: 'The preferred zone for the secondary/failover instance, it should be something like: `us-central1-a`, `us-east1-c`.'
260
230
type: string
261
-
required: false
262
231
- name: sql_server_audit_config
263
232
description: SQL server audit config settings.
264
233
type: map(string)
265
234
default: {}
266
-
required: false
267
235
- name: tier
268
236
description: The tier for the master instance.
269
237
type: string
270
238
default: db-custom-2-3840
271
-
required: false
272
239
- name: update_timeout
273
240
description: The optional timeout that is applied to limit long database updates.
274
241
type: string
275
242
default: 30m
276
-
required: false
277
243
- name: user_labels
278
244
description: The key/value labels for the master instances.
279
245
type: map(string)
280
246
default: {}
281
-
required: false
282
247
- name: user_name
283
248
description: The name of the default user
284
249
type: string
285
250
default: default
286
-
required: false
287
251
- name: user_password
288
252
description: The password for the default user. If not set, a random one will be generated and available in the generated_user_password output variable.
289
253
type: string
290
254
default: ""
291
-
required: false
292
255
- name: zone
293
256
description: The zone for the master instance.
294
257
type: string
295
258
default: us-central1-a
296
-
required: false
297
259
outputs:
298
260
- name: additional_users
299
261
description: List of maps of additional users and passwords
| db\_name | The name of the default database to create |`string`|`"default"`| no |
22
22
| delete\_timeout | The optional timout that is applied to limit long database deletes. |`string`|`"30m"`| no |
23
23
| deletion\_protection | Used to block Terraform from deleting a SQL Instance. |`bool`|`true`| no |
24
-
| deletion\_protection\_enabled | Enables protection of an instance from accidental deletion protection across all surfaces (API, gcloud, Cloud Console and Terraform). |`bool`|`false`| no |
24
+
| deletion\_protection\_enabled | Enables protection of an instance from accidental deletion across all surfaces (API, gcloud, Cloud Console and Terraform). |`bool`|`false`| no |
25
25
| deny\_maintenance\_period | The Deny Maintenance Period fields to prevent automatic maintenance from occurring during a 90-day time period. See [more details](https://cloud.google.com/sql/docs/mysql/maintenance)| <pre>list(object({<br> end_date = string<br> start_date = string<br> time = string<br> }))</pre> |`[]`| no |
26
26
| disk\_autoresize | Configuration to increase storage size |`bool`|`true`| no |
27
27
| disk\_autoresize\_limit | The maximum size to which storage can be auto increased. |`number`|`0`| no |
| project\_id | The project ID to manage the Cloud SQL resources |`string`| n/a | yes |
45
45
| random\_instance\_name | Sets random suffix at the end of the Cloud SQL resource name |`bool`|`false`| no |
46
46
| read\_replica\_deletion\_protection | Used to block Terraform from deleting replica SQL Instances. |`bool`|`false`| no |
47
+
| read\_replica\_deletion\_protection\_enabled | Enables protection of a read replica from accidental deletion across all surfaces (API, gcloud, Cloud Console and Terraform). |`bool`|`false`| no |
47
48
| read\_replica\_name\_suffix | The optional suffix to add to the read instance name |`string`|`""`| no |
48
49
| read\_replicas | List of read replicas to create. Encryption key is required for replica in different region. For replica in same region as master set encryption\_key\_name = null | <pre>list(object({<br> name = string<br> name_override = optional(string)<br> tier = string<br> zone = string<br> availability_type = string<br> disk_type = string<br> disk_autoresize = bool<br> disk_autoresize_limit = number<br> disk_size = string<br> user_labels = map(string)<br> database_flags = list(object({<br> name = string<br> value = string<br> }))<br> ip_configuration = object({<br> authorized_networks = list(map(string))<br> ipv4_enabled = bool<br> private_network = string<br> require_ssl = bool<br> allocated_ip_range = string<br> })<br> encryption_key_name = string<br> }))</pre> |`[]`| no |
49
50
| region | The region of the Cloud SQL resources |`string`|`"us-central1"`| no |
0 commit comments