Skip to content

#261: Invalid plan when re-applying terraform module #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions autogen/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@

terraform {
required_version = ">= 0.12"

required_providers {
{% if beta_cluster %}
google-beta = "~> 2.18.0"
{% else %}
google = "~> 2.18.0"
{% endif %}
}
}
2 changes: 1 addition & 1 deletion examples/deploy_service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/disable_client_cert/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/node_pool_update_variant/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/shared_vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/simple_regional/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/simple_regional_private/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/simple_zonal/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/simple_zonal_private/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/stub_domains/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
6 changes: 1 addition & 5 deletions examples/stub_domains_private/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@
*/

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

provider "random" {
version = "~> 2.1"
}

data "google_compute_subnetwork" "subnetwork" {
name = var.subnetwork
project = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion examples/stub_domains_upstream_nameservers/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
2 changes: 1 addition & 1 deletion examples/upstream_nameservers/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
}

provider "google" {
version = "~> 2.12.0"
version = "~> 2.18.0"
region = var.region
}

Expand Down
4 changes: 4 additions & 0 deletions modules/beta-private-cluster-update-variant/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

terraform {
required_version = ">= 0.12"

required_providers {
google-beta = "~> 2.18.0"
}
}
4 changes: 4 additions & 0 deletions modules/beta-private-cluster/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

terraform {
required_version = ">= 0.12"

required_providers {
google-beta = "~> 2.18.0"
}
}
4 changes: 4 additions & 0 deletions modules/beta-public-cluster/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

terraform {
required_version = ">= 0.12"

required_providers {
google-beta = "~> 2.18.0"
}
}
4 changes: 4 additions & 0 deletions modules/private-cluster-update-variant/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

terraform {
required_version = ">= 0.12"

required_providers {
google = "~> 2.18.0"
}
}
4 changes: 4 additions & 0 deletions modules/private-cluster/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

terraform {
required_version = ">= 0.12"

required_providers {
google = "~> 2.18.0"
}
}
4 changes: 4 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

terraform {
required_version = ">= 0.12"

required_providers {
google = "~> 2.18.0"
}
}