Skip to content

Commit

Permalink
Require Terraform v1.3.1 or newer
Browse files Browse the repository at this point in the history
This change is required because Terraform v1.3.0 was affected by a bug
that caused the module to crash Terraform (see
hashicorp/terraform#31860 for more details).

In addition, we now finally have a version constraint for the bucket
module.
  • Loading branch information
mariuskiessling committed Sep 29, 2022
1 parent a4429ed commit 440ce3f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -22,7 +22,7 @@ This module allows you to configure a Google Cloud Platform project.

## Compatibility

This module requires [terraform] version >=1.3.
This module requires [terraform] version >=1.3.1.

## Features

Expand Down
2 changes: 1 addition & 1 deletion bootstrap/templates/project.tf.in
Expand Up @@ -15,7 +15,7 @@
module "project-cfg" {
source = "metro-digital/cf-projectcfg/google"
project_id = local.project_id
version = ">=2.0"
version = ">=2.0.5"

roles = {
"roles/viewer" = [
Expand Down
1 change: 1 addition & 0 deletions bootstrap/templates/tf-state-bucket.tf.in
Expand Up @@ -14,6 +14,7 @@

module "tf-state-bucket" {
source = "metro-digital/cf-bucket/google"
version = ">=1.0"

project_id = module.project-cfg.project_id
name = "${GCS_BUCKET}"
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Expand Up @@ -27,5 +27,5 @@ terraform {
version = "~> 2.0"
}
}
required_version = ">= 1.3"
required_version = ">= 1.3.1"
}

0 comments on commit 440ce3f

Please sign in to comment.