Upgrade to support terraform-provider-google v2.0+

* Support terraform-provider-google v1.19.0, v1.19.1, v1.20.0
and v2.0+ (and allow for future 2.x.y releases)
* Require terraform-provider-google v1.19.0 or newer. v1.19.0
introduced `network_interface` fields `network_ip` and `nat_ip`
to deprecate `address` and `assigned_nat_ip`. Those deprecated
fields are removed in terraform-provider-google v2.0
* https://github.com/terraform-providers/terraform-provider-google/releases/tag/v2.0.0
This commit is contained in:
Dalton Hubble
2019-02-20 00:54:19 -08:00
parent 4294bd0292
commit 7f8572030d
7 changed files with 11 additions and 9 deletions

View File

@ -49,7 +49,7 @@ Configure the Google Cloud provider to use your service account key, project-id,
```tf
provider "google" {
version = "1.6"
version = "2.0.0"
alias = "default"
credentials = "${file("~/.config/google-cloud/terraform.json")}"