Closed vdesabou closed 4 years ago
Even with that fix, I get during terraform apply:
Error: could not parse "ip_address" to IP address
on compute.tf line 11, in resource "google_compute_global_forwarding_rule" "rest_proxy":
11: resource "google_compute_global_forwarding_rule" "rest_proxy" {
Error: could not parse "ip_address" to IP address
on compute.tf line 113, in resource "google_compute_global_forwarding_rule" "kafka_connect":
113: resource "google_compute_global_forwarding_rule" "kafka_connect" {
Error: could not parse "ip_address" to IP address
on compute.tf line 215, in resource "google_compute_global_forwarding_rule" "ksql_server":
215: resource "google_compute_global_forwarding_rule" "ksql_server" {
Error: could not parse "ip_address" to IP address
on compute.tf line 317, in resource "google_compute_global_forwarding_rule" "control_center":
317: resource "google_compute_global_forwarding_rule" "control_center" {
I think it's because I'm using provider.google v3.x and this repo was done using v2.x, so we would need to apply all those upgrades https://www.terraform.io/docs/providers/google/guides/version_3_upgrade.html
Maybe an easier solution would be to force provider google to 2.x version in main.yml ?
provider "google" {
credentials = file(var.gcp_credentials)
project = var.gcp_project
region = local.region
version = "~> 2.20.2"
}
Terraform version used:
Getting error:
version
is now mandatory in google_compute_region_instance_group_manager