Here is my tf files: https://gist.github.com/Rukeith/bd194e808adb3ecfe982a7bdda9952a4

Terraform Version:

Terraform v0.12.6
+ provider.google-beta v2.12.0
+ provider.random v2.2.0

Terraform got an error, while cloud SQL read replica finish creation complete

enter image description here

And if I want to update the cloud sql replica setting, I got an error below.

enter image description here

Second example:

resource "google_compute_firewall" "egs" {
  provider = "google-beta"

  name           = "egs-firewall"
  network        = "default"
  enable_logging = true

  target_tags   = ["egs"]
  source_ranges = [""]

  allow {
    protocol = "tcp"
    ports    = ["8080"]
  • Put error messages as text in your question, not as inlined images. Same for any other extra material related to your question: do not give a link to it, put was is needed in the question itself. – Patrick Mevzek Aug 14 at 16:05
  • @PatrickMevzek I had added a more simple example, it still got the error about unknown provider google – Rukeith Aug 15 at 4:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.