Skip to content

Commit

Permalink
marked networks field optional in `google_backup_dr_management_serv…
Browse files Browse the repository at this point in the history
…er` resource (hashicorp#12207) (hashicorp#20150)

[upstream:8c4e34ea3abeec2221737950c4011d81f3c5ce0a]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and slevenick committed Nov 1, 2024
1 parent 5edfa01 commit 3577ffc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .changelog/12207.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
backupdr: marked `networks` field optional in `google_backup_dr_management_server` resource (beta)
```
38 changes: 17 additions & 21 deletions website/docs/r/backup_dr_management_server.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ resource "google_backup_dr_management_server" "ms-console" {
location = "us-central1"
name = "ms-console"
type = "BACKUP_RESTORE"
networks {
network = google_compute_network.default.id
peering_mode = "PRIVATE_SERVICE_ACCESS"
}
depends_on = [ google_service_networking_connection.default ]
}
```
Expand All @@ -73,11 +69,6 @@ resource "google_backup_dr_management_server" "ms-console" {
The following arguments are supported:


* `networks` -
(Required)
Network details to create management server (management console).
Structure is [documented below](#nested_networks).

* `location` -
(Required)
The location for the management server (management console)
Expand All @@ -87,18 +78,6 @@ The following arguments are supported:
The name of management server (management console)


<a name="nested_networks"></a>The `networks` block supports:

* `network` -
(Required)
Network with format `projects/{{project_id}}/global/networks/{{network_id}}`

* `peering_mode` -
(Optional)
Type of Network peeringMode
Default value is `PRIVATE_SERVICE_ACCESS`.
Possible values are: `PRIVATE_SERVICE_ACCESS`.

- - -


Expand All @@ -108,10 +87,27 @@ The following arguments are supported:
Default value is `BACKUP_RESTORE`.
Possible values are: `BACKUP_RESTORE`.

* `networks` -
(Optional)
Network details to create management server (management console).
Structure is [documented below](#nested_networks).

* `project` - (Optional) The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.


<a name="nested_networks"></a>The `networks` block supports:

* `network` -
(Required)
Network with format `projects/{{project_id}}/global/networks/{{network_id}}`

* `peering_mode` -
(Optional)
Type of Network peeringMode
Default value is `PRIVATE_SERVICE_ACCESS`.
Possible values are: `PRIVATE_SERVICE_ACCESS`.

## Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:
Expand Down

0 comments on commit 3577ffc

Please sign in to comment.