diff --git a/.kitchen.yml b/.kitchen.yml index 5dabe68c..30423c3a 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -16,6 +16,7 @@ driver: name: "terraform" command_timeout: 1800 + verify_version: false verifier: name: "terraform" diff --git a/build/int.cloudbuild.yaml b/build/int.cloudbuild.yaml index 4761162f..1243f595 100644 --- a/build/int.cloudbuild.yaml +++ b/build/int.cloudbuild.yaml @@ -38,4 +38,4 @@ tags: - 'integration' substitutions: _DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools' - _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '0' + _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '0.12.0' diff --git a/build/lint.cloudbuild.yaml b/build/lint.cloudbuild.yaml index bd8cdc27..cb7d925f 100644 --- a/build/lint.cloudbuild.yaml +++ b/build/lint.cloudbuild.yaml @@ -21,4 +21,4 @@ tags: - 'lint' substitutions: _DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools' - _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '0' + _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '0.12.0' diff --git a/examples/bigquery/billing_account/versions.tf b/examples/bigquery/billing_account/versions.tf index 2cac0aca..87aec8c6 100644 --- a/examples/bigquery/billing_account/versions.tf +++ b/examples/bigquery/billing_account/versions.tf @@ -15,9 +15,9 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/bigquery/folder/versions.tf b/examples/bigquery/folder/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/bigquery/folder/versions.tf +++ b/examples/bigquery/folder/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/bigquery/organization/versions.tf b/examples/bigquery/organization/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/bigquery/organization/versions.tf +++ b/examples/bigquery/organization/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/bigquery/project/versions.tf b/examples/bigquery/project/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/bigquery/project/versions.tf +++ b/examples/bigquery/project/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/datadog-sink/main.tf b/examples/datadog-sink/main.tf index 5c2aa659..e7810c0f 100755 --- a/examples/datadog-sink/main.tf +++ b/examples/datadog-sink/main.tf @@ -15,7 +15,7 @@ */ provider "google" { - version = "~> 3.5" + version = "~> 3.36.0" } locals { diff --git a/examples/datadog-sink/versions.tf b/examples/datadog-sink/versions.tf index 8b267ac4..53779c60 100755 --- a/examples/datadog-sink/versions.tf +++ b/examples/datadog-sink/versions.tf @@ -16,5 +16,5 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/examples/pubsub/billing_account/versions.tf b/examples/pubsub/billing_account/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/pubsub/billing_account/versions.tf +++ b/examples/pubsub/billing_account/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/pubsub/folder/versions.tf b/examples/pubsub/folder/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/pubsub/folder/versions.tf +++ b/examples/pubsub/folder/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/pubsub/organization/versions.tf b/examples/pubsub/organization/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/pubsub/organization/versions.tf +++ b/examples/pubsub/organization/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/pubsub/project/versions.tf b/examples/pubsub/project/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/pubsub/project/versions.tf +++ b/examples/pubsub/project/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/splunk-sink/versions.tf b/examples/splunk-sink/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/splunk-sink/versions.tf +++ b/examples/splunk-sink/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/storage/billing_account/versions.tf b/examples/storage/billing_account/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/storage/billing_account/versions.tf +++ b/examples/storage/billing_account/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/storage/folder/versions.tf b/examples/storage/folder/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/storage/folder/versions.tf +++ b/examples/storage/folder/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/storage/organization/versions.tf b/examples/storage/organization/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/storage/organization/versions.tf +++ b/examples/storage/organization/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/examples/storage/project/versions.tf b/examples/storage/project/versions.tf index f1688e1e..81d02e54 100644 --- a/examples/storage/project/versions.tf +++ b/examples/storage/project/versions.tf @@ -16,9 +16,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/modules/bigquery/versions.tf b/modules/bigquery/versions.tf index 9d53a6fa..89b77d83 100644 --- a/modules/bigquery/versions.tf +++ b/modules/bigquery/versions.tf @@ -16,7 +16,7 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" required_providers { google = "~> 3.5" } diff --git a/modules/pubsub/versions.tf b/modules/pubsub/versions.tf index 9d53a6fa..89b77d83 100755 --- a/modules/pubsub/versions.tf +++ b/modules/pubsub/versions.tf @@ -16,7 +16,7 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" required_providers { google = "~> 3.5" } diff --git a/modules/storage/versions.tf b/modules/storage/versions.tf index 9d53a6fa..89b77d83 100644 --- a/modules/storage/versions.tf +++ b/modules/storage/versions.tf @@ -16,7 +16,7 @@ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" required_providers { google = "~> 3.5" } diff --git a/test/fixtures/bigquery/organization/versions.tf b/test/fixtures/bigquery/organization/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/bigquery/organization/versions.tf +++ b/test/fixtures/bigquery/organization/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/fixtures/bigquery/project/versions.tf b/test/fixtures/bigquery/project/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/bigquery/project/versions.tf +++ b/test/fixtures/bigquery/project/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/fixtures/computed_values/versions.tf b/test/fixtures/computed_values/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/computed_values/versions.tf +++ b/test/fixtures/computed_values/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/fixtures/pubsub/folder/versions.tf b/test/fixtures/pubsub/folder/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/pubsub/folder/versions.tf +++ b/test/fixtures/pubsub/folder/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/fixtures/pubsub/organization/versions.tf b/test/fixtures/pubsub/organization/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/pubsub/organization/versions.tf +++ b/test/fixtures/pubsub/organization/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/fixtures/pubsub/project/versions.tf b/test/fixtures/pubsub/project/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/pubsub/project/versions.tf +++ b/test/fixtures/pubsub/project/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/fixtures/storage/folder/versions.tf b/test/fixtures/storage/folder/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/storage/folder/versions.tf +++ b/test/fixtures/storage/folder/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/fixtures/storage/organization/versions.tf b/test/fixtures/storage/organization/versions.tf index 29704272..eb533263 100644 --- a/test/fixtures/storage/organization/versions.tf +++ b/test/fixtures/storage/organization/versions.tf @@ -15,5 +15,5 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } diff --git a/test/setup/main.tf b/test/setup/main.tf index 3711abd2..d781d445 100644 --- a/test/setup/main.tf +++ b/test/setup/main.tf @@ -16,13 +16,14 @@ module "project" { source = "terraform-google-modules/project-factory/google" - version = "~> 7.0" + version = "~> 9.0" - name = "ci-log-export" - random_project_id = true - org_id = var.org_id - folder_id = var.folder_id - billing_account = var.billing_account + name = "ci-log-export" + random_project_id = true + org_id = var.org_id + folder_id = var.folder_id + billing_account = var.billing_account + skip_gcloud_download = true activate_apis = [ "cloudresourcemanager.googleapis.com", diff --git a/test/setup/versions.tf b/test/setup/versions.tf index 0d51dc77..ce4766c4 100644 --- a/test/setup/versions.tf +++ b/test/setup/versions.tf @@ -15,13 +15,13 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" } provider "google" { - version = "~> 3.5.0" + version = "~> 3.36.0" } provider "google-beta" { - version = "~> 3.5.0" + version = "~> 3.36.0" } diff --git a/versions.tf b/versions.tf index be2744d3..a8067d39 100644 --- a/versions.tf +++ b/versions.tf @@ -15,7 +15,7 @@ */ terraform { - required_version = ">= 0.12" + required_version = ">=0.12.6, <0.14" required_providers { google = "~> 3.5"