diff --git a/.circleci/config.yml b/.circleci/config.yml index 9291e3a..213664d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ defaults: &defaults KUBERGRUNT_VERSION: v0.3.9 HELM_VERSION: v2.11.0 MODULE_CI_VERSION: v0.13.3 - TERRAFORM_VERSION: 0.12.6 + TERRAFORM_VERSION: 0.12.7 TERRAGRUNT_VERSION: NONE PACKER_VERSION: NONE GOLANG_VERSION: 1.11.2 diff --git a/examples/gke-basic-tiller/main.tf b/examples/gke-basic-tiller/main.tf index 9ebb8e7..fcd32da 100644 --- a/examples/gke-basic-tiller/main.tf +++ b/examples/gke-basic-tiller/main.tf @@ -5,9 +5,9 @@ # --------------------------------------------------------------------------------------------------------------------- terraform { - # The modules used in this example have been updated with 0.12 syntax, which means the example is no longer - # compatible with any versions below 0.12. - required_version = ">= 0.12" + # The modules used in this example have been updated with 0.12 syntax, additionally we depend on a bug fixed in + # version 0.12.7. + required_version = ">= 0.12.7" } # --------------------------------------------------------------------------------------------------------------------- diff --git a/examples/gke-private-cluster/main.tf b/examples/gke-private-cluster/main.tf index edf5e21..8755f79 100644 --- a/examples/gke-private-cluster/main.tf +++ b/examples/gke-private-cluster/main.tf @@ -4,9 +4,9 @@ # --------------------------------------------------------------------------------------------------------------------- terraform { - # The modules used in this example have been updated with 0.12 syntax, which means the example is no longer - # compatible with any versions below 0.12. - required_version = ">= 0.12" + # The modules used in this example have been updated with 0.12 syntax, additionally we depend on a bug fixed in + # version 0.12.7. + required_version = ">= 0.12.7" } # --------------------------------------------------------------------------------------------------------------------- diff --git a/examples/gke-public-cluster/main.tf b/examples/gke-public-cluster/main.tf index 7466bc3..bc89588 100644 --- a/examples/gke-public-cluster/main.tf +++ b/examples/gke-public-cluster/main.tf @@ -5,9 +5,9 @@ # --------------------------------------------------------------------------------------------------------------------- terraform { - # The modules used in this example have been updated with 0.12 syntax, which means the example is no longer - # compatible with any versions below 0.12. - required_version = ">= 0.12" + # The modules used in this example have been updated with 0.12 syntax, additionally we depend on a bug fixed in + # version 0.12.7. + required_version = ">= 0.12.7" } # --------------------------------------------------------------------------------------------------------------------- diff --git a/main.tf b/main.tf index ec40f9e..28cd44e 100644 --- a/main.tf +++ b/main.tf @@ -4,9 +4,9 @@ # --------------------------------------------------------------------------------------------------------------------- terraform { - # The modules used in this example have been updated with 0.12 syntax, which means the example is no longer - # compatible with any versions below 0.12. - required_version = ">= 0.12" + # The modules used in this example have been updated with 0.12 syntax, additionally we depend on a bug fixed in + # version 0.12.7. + required_version = ">= 0.12.7" } # --------------------------------------------------------------------------------------------------------------------- diff --git a/modules/gke-cluster/main.tf b/modules/gke-cluster/main.tf index 662e38a..78b7297 100644 --- a/modules/gke-cluster/main.tf +++ b/modules/gke-cluster/main.tf @@ -3,6 +3,15 @@ # This module deploys a GKE cluster, a managed, production-ready environment for deploying containerized applications. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# ---------------------------------------------------------------------------------------------------------------------- +# REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER +# This module uses terraform 0.12 syntax and features that are available only since version 0.12.6, however +# we now depend on a bug fix released in 0.12.7. +# ---------------------------------------------------------------------------------------------------------------------- +terraform { + required_version = ">= 0.12.7" +} + # --------------------------------------------------------------------------------------------------------------------- # Create the GKE Cluster # We want to make a cluster with no node pools, and manage them all with the fine-grained google_container_node_pool resource diff --git a/modules/gke-service-account/main.tf b/modules/gke-service-account/main.tf index c8b1ac8..bd4bcb3 100644 --- a/modules/gke-service-account/main.tf +++ b/modules/gke-service-account/main.tf @@ -1,10 +1,10 @@ # ---------------------------------------------------------------------------------------------------------------------- # REQUIRE A SPECIFIC TERRAFORM VERSION OR HIGHER -# This module uses terraform 0.12 syntax and features that are available only -# since version 0.12.6 +# This module uses terraform 0.12 syntax and features that are available only since version 0.12.6, however +# we now depend on a bug fix released in 0.12.7. # ---------------------------------------------------------------------------------------------------------------------- terraform { - required_version = ">= 0.12.6" + required_version = ">= 0.12.7" } # ----------------------------------------------------------------------------------------------------------------------