Skip to content

Commit 73b34d8

Browse files
alloydb: machine_type in the machine_config block is not yet GA in the API (#14344) (#10262)
[upstream:73eb7730f287bba861d5ad22fa53dd645b8e3c59] Signed-off-by: Modular Magician <[email protected]>
1 parent 18fe595 commit 73b34d8

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changelog/14344.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
alloydb: `machine_type` in the `machine_config` block is not yet GA in the API
3+
```

google-beta/services/alloydb/resource_alloydb_instance_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99
// This code is generated by Magic Modules using the following:
1010
//
11-
// Source file: https://github.com/GoogleCloudPlatform/magic-modules/tree/main/mmv1/third_party/terraform/services/alloydb/resource_alloydb_instance_test.go
11+
// Source file: https://github.com/GoogleCloudPlatform/magic-modules/tree/main/mmv1/third_party/terraform/services/alloydb/resource_alloydb_instance_test.go.tmpl
1212
//
1313
// DO NOT EDIT this file directly. Any changes made to this file will be
1414
// overwritten during the next generation cycle.
@@ -98,6 +98,7 @@ resource "google_alloydb_instance" "default" {
9898
machine_config {
9999
cpu_count = 4
100100
machine_type = "n2-highmem-4"
101+
101102
}
102103
103104
labels = {
@@ -971,6 +972,7 @@ resource "google_alloydb_instance" "default" {
971972
machine_config {
972973
cpu_count = 2
973974
machine_type = "n2-highmem-2"
975+
974976
}
975977
psc_instance_config {
976978
allowed_consumer_projects = ["${data.google_project.project.number}"]

website/docs/r/alloydb_instance.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ The following arguments are supported:
347347
The number of CPU's in the VM instance.
348348

349349
* `machine_type` -
350-
(Optional)
350+
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
351351
Machine type of the VM instance.
352352
E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
353353
`cpu_count` must match the number of vCPUs in the machine type.

0 commit comments

Comments
 (0)