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
Added support for CMEK in alloydb backup resource (#7829) (#14421)
* Added validation for "type" in cloud_sql_user_resource for preventing user from setting "password" or "host" for CLOUD_IAM_USER and CLOUD_IAM_SERVICE_ACCOUNT user types.
* Removed validation and added documentation to prevent setting of host or password field for CLOUD_IAM_USER and CLOUD_IAM_SERVICE_ACCOUNT
* Added support for CMEK in alloydb backup resource
Signed-off-by: Modular Magician <[email protected]>
Description: `User-provided description of the backup.`,
70
70
},
71
+
"encryption_config": {
72
+
Type: schema.TypeList,
73
+
Optional: true,
74
+
Description: `EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).`,
75
+
MaxItems: 1,
76
+
Elem: &schema.Resource{
77
+
Schema: map[string]*schema.Schema{
78
+
"kms_key_name": {
79
+
Type: schema.TypeString,
80
+
Optional: true,
81
+
ForceNew: true,
82
+
Description: `The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].`,
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
177
+
167
178
## Attributes Reference
168
179
169
180
In addition to the arguments listed above, the following computed attributes are exported:
@@ -191,6 +202,20 @@ In addition to the arguments listed above, the following computed attributes are
191
202
*`etag` -
192
203
A hash of the resource.
193
204
205
+
*`encryption_info` -
206
+
EncryptionInfo describes the encryption information of a cluster or a backup.
207
+
Structure is [documented below](#nested_encryption_info).
0 commit comments