terraform-google-sql-db icon indicating copy to clipboard operation
terraform-google-sql-db copied to clipboard

feat!: Add `secondary_zone` to db modules

Open jamiezieziula opened this issue 3 years ago • 7 comments

Closes #320

jamiezieziula avatar Aug 24 '22 18:08 jamiezieziula

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Aug 24 '22 18:08 google-cla[bot]

@bharathkkb - can you let me know the failure here - I can't see details of that cloud build run

jamiezieziula avatar Aug 25 '22 13:08 jamiezieziula

Good catch @jamiezieziula!

Sorry @bharathkkb do you have any update on this?

I am getting drift because of this...

Terraform will perform the following actions:

  # module.sql-db.google_sql_database_instance.default will be updated in-place
  ~ resource "google_sql_database_instance" "default" {
        id                            = "mysqldb-13ae63bd"
        name                          = "mysqldb-13ae63bd"
        # (11 unchanged attributes hidden)

      ~ settings {
            # (10 unchanged attributes hidden)

          ~ location_preference {
              - secondary_zone = "us-central1-a" -> null
                # (1 unchanged attribute hidden)
            }

            # (4 unchanged blocks hidden)
        }

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

reynaldo-rack avatar Sep 01 '22 19:09 reynaldo-rack

The secondary_zone support added by @jamiezieziula's in this PR (thanks!) works fine with my PostgreSQL instance. The PR seems complete to me.

@bharathkkb what's stopping us from merging this? Looks like the Google Cloud Build CI step is broken?

czka avatar Sep 08 '22 08:09 czka

@bharathkkb any update here?

jamiezieziula avatar Sep 16 '22 19:09 jamiezieziula

@bharathkkb please let me know what I can do to move this along

jamiezieziula avatar Oct 04 '22 14:10 jamiezieziula

@jamiezieziula Thanks for the PR! 🚀
✅ Lint checks have passed.

comment-bot-dev avatar Oct 17 '22 18:10 comment-bot-dev