Skip to content

Commit c749dbb

Browse files
Added controlled-vault feature to backupdr-backupvault (#12239) (#20235)
[upstream:069cde81fbc480835d0a37637460995cdbab1e1e] Signed-off-by: Modular Magician <[email protected]>
1 parent 08f6cf9 commit c749dbb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changelog/12239.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note: enhancement
2+
backupdr: added `access_restriction` field to`google_backup_dr_backup_vault` resource (beta)
3+
```

website/docs/r/backup_dr_backup_vault.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ resource "google_backup_dr_backup_vault" "backup-vault-test" {
4444
annotations2 = "baz1"
4545
}
4646
force_update = "true"
47+
access_restriction = "WITHIN_ORGANIZATION"
4748
ignore_inactive_datasources = "true"
4849
ignore_backup_plan_references = "true"
4950
allow_missing = "true"
@@ -92,6 +93,12 @@ The following arguments are supported:
9293
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
9394
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
9495

96+
* `access_restriction` -
97+
(Optional)
98+
Access restriction for the backup vault. Default value is `WITHIN_ORGANIZATION` if not provided during creation.
99+
Default value is `WITHIN_ORGANIZATION`.
100+
Possible values are: `ACCESS_RESTRICTION_UNSPECIFIED`, `WITHIN_PROJECT`, `WITHIN_ORGANIZATION`, `UNRESTRICTED`, `WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA`.
101+
95102
* `force_update` -
96103
(Optional)
97104
If set, allow update to extend the minimum enforced retention for backup vault. This overrides

0 commit comments

Comments
 (0)