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: google/services/alloydb/resource_alloydb_cluster.go
+26-5
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,12 @@ If not set, defaults to 14 days.`,
265
265
},
266
266
},
267
267
},
268
+
"database_version": {
269
+
Type: schema.TypeString,
270
+
Computed: true,
271
+
Optional: true,
272
+
Description: `The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.`,
273
+
},
268
274
"display_name": {
269
275
Type: schema.TypeString,
270
276
Optional: true,
@@ -478,11 +484,6 @@ It is specified in the form: "projects/{projectNumber}/global/networks/{network_
478
484
},
479
485
},
480
486
},
481
-
"database_version": {
482
-
Type: schema.TypeString,
483
-
Computed: true,
484
-
Description: `The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.`,
485
-
},
486
487
"effective_annotations": {
487
488
Type: schema.TypeMap,
488
489
Computed: true,
@@ -627,6 +628,12 @@ func resourceAlloydbClusterCreate(d *schema.ResourceData, meta interface{}) erro
@@ -303,6 +304,10 @@ The following arguments are supported:
303
304
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
304
305
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
305
306
307
+
*`database_version` -
308
+
(Optional)
309
+
The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
310
+
306
311
*`initial_user` -
307
312
(Optional)
308
313
Initial user to setup during cluster creation.
@@ -542,9 +547,6 @@ In addition to the arguments listed above, the following computed attributes are
542
547
*`state` -
543
548
Output only. The current serving state of the cluster.
544
549
545
-
*`database_version` -
546
-
The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
547
-
548
550
*`backup_source` -
549
551
Cluster created from backup.
550
552
Structure is [documented below](#nested_backup_source).
0 commit comments