这是我的tf文件: https://gist.github.com/Rukeith/bd194e808adb3ecfe982a7bdda9952a4
Terraform 版本:
Terraform v0.12.6
+ provider.google-beta v2.12.0
+ provider.random v2.2.0
Terraform 出现错误,而 Cloud SQL 读取副本完成创建
如果我想更新云 SQL 副本设置,我会收到以下错误。
第二个例子:
resource "google_compute_firewall" "egs" {
provider = "google-beta"
name = "egs-firewall"
network = "default"
enable_logging = true
target_tags = ["egs"]
source_ranges = ["0.0.0.0/0"]
allow {
protocol = "tcp"
ports = ["8080"]
}
}