GoogleCloudPlatform / terraform-google-alloy-db

Creates an Alloy DB instance
https://registry.terraform.io/modules/GoogleCloudPlatform/alloy-db/google
Apache License 2.0
17 stars 16 forks source link

fix: continuous_backup_config and automated_backup_policy issue for failover replica #72

Closed imrannayer closed 3 months ago

imrannayer commented 4 months ago

fix #74 Fixed error noticed in PR #71 Seems like API behavior changed.

Error creating Cluster: googleapi: Error 400: The request was invalid: no automated backup policy was specified for secondary. Could not copy primary's configuration because an encryption key was present. Either explicitly disable the secondary's automated backup policy, or specify the policy with a CMEK.
imrannayer commented 3 months ago

@g-awmalik applied changes. Plz review?