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-beta/services/backupdr/resource_backup_dr_backup_vault.go
+77Lines changed: 77 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,21 @@ Please refer to the field 'effective_annotations' for all of the annotations pre
167
167
Optional: true,
168
168
Description: `Optional. Time after which the BackupVault resource is locked.`,
169
169
},
170
+
"encryption_config": {
171
+
Type: schema.TypeList,
172
+
Optional: true,
173
+
Description: `Encryption configuration for the backup vault.`,
174
+
MaxItems: 1,
175
+
Elem: &schema.Resource{
176
+
Schema: map[string]*schema.Schema{
177
+
"kms_key_name": {
178
+
Type: schema.TypeString,
179
+
Optional: true,
180
+
Description: `The Resource name of the Cloud KMS key to be used to encrypt new backups. The key must be in the same location as the backup vault. The key must be a Cloud KMS CryptoKey.`,
181
+
},
182
+
},
183
+
},
184
+
},
170
185
"force_delete": {
171
186
Type: schema.TypeBool,
172
187
Optional: true,
@@ -334,6 +349,12 @@ func resourceBackupDRBackupVaultCreate(d *schema.ResourceData, meta interface{})
The Resource name of the Cloud KMS key to be used to encrypt new backups. The key must be in the same location as the backup vault. The key must be a Cloud KMS CryptoKey.
180
+
138
181
## Attributes Reference
139
182
140
183
In addition to the arguments listed above, the following computed attributes are exported:
0 commit comments