Skip to content

Commit

Permalink
make machine_config.cpu_count updatable (#6868) (#13144)
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Sun <sunedward@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Signed-off-by: Modular Magician <magic-modules@google.com>
Co-authored-by: Edward Sun <sunedward@google.com>
  • Loading branch information
modular-magician and Edward Sun committed Nov 30, 2022
1 parent 538b863 commit 1cbb936
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/6868.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
alloydb: made `machine_config.cpu_count` updatable on `google_alloydb_instance`
```
10 changes: 7 additions & 3 deletions website/docs/r/alloydb_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ resource "google_alloydb_instance" "default" {
instance_id = "alloydb-instance"
instance_type = "PRIMARY"
machine_config {
cpu_count = 2
}
depends_on = [google_service_networking_connection.vpc_connection]
}
Expand Down Expand Up @@ -190,9 +194,9 @@ In addition to the arguments listed above, the following computed attributes are
This resource provides the following
[Timeouts](/docs/configuration/resources.html#timeouts) configuration options:

- `create` - Default is 10 minutes.
- `update` - Default is 10 minutes.
- `delete` - Default is 10 minutes.
- `create` - Default is 20 minutes.
- `update` - Default is 20 minutes.
- `delete` - Default is 20 minutes.

## Import

Expand Down

0 comments on commit 1cbb936

Please sign in to comment.