Skip to content

Commit

Permalink
fix: Ignore changes to CMEK on read replicas (#284)
Browse files Browse the repository at this point in the history
* added ignore encryption_key_name in replica lifecycle

* added ignore encryption_key_name in replica lifecycle
  • Loading branch information
imrannayer committed Mar 10, 2022
1 parent 704be5d commit b73b465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/mysql/read_replica.tf
Expand Up @@ -83,6 +83,7 @@ resource "google_sql_database_instance" "replicas" {
ignore_changes = [
settings[0].disk_size,
settings[0].maintenance_window,
encryption_key_name,
]
}

Expand Down
1 change: 1 addition & 0 deletions modules/postgresql/read_replica.tf
Expand Up @@ -94,6 +94,7 @@ resource "google_sql_database_instance" "replicas" {
ignore_changes = [
settings[0].disk_size,
settings[0].maintenance_window,
encryption_key_name,
]
}

Expand Down

0 comments on commit b73b465

Please sign in to comment.