Skip to content

Commit 7c6690c

Browse files
fix: updates for tflint (#147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Peabody <[email protected]>
1 parent b52b84b commit 7c6690c

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Make will use bash instead of sh
1919
SHELL := /usr/bin/env bash
2020

21-
DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 1.4
21+
DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 1.10
2222
DOCKER_IMAGE_DEVELOPER_TOOLS := cft/developer-tools
2323
REGISTRY_URL := gcr.io/cloud-foundation-cicd
2424

build/int.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ tags:
3838
- 'integration'
3939
substitutions:
4040
_DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools'
41-
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.4'
41+
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.10'

build/lint.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ tags:
2121
- 'lint'
2222
substitutions:
2323
_DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools'
24-
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.4'
24+
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.10'

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ resource "google_storage_bucket" "main" {
7070
uniform_bucket_level_access = true
7171

7272
dynamic "logging" {
73-
for_each = local.logging == [] ? [] : local.logging
73+
for_each = length(local.logging) == 0 ? [] : local.logging
7474
content {
7575
log_bucket = logging.value.log_bucket
7676
log_object_prefix = logging.value.log_object_prefix

versions.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ terraform {
2222
source = "hashicorp/google"
2323
version = ">= 4.11, < 5.0"
2424
}
25+
null = {
26+
source = "hashicorp/null"
27+
version = ">= 2.1, < 4.0"
28+
}
29+
archive = {
30+
source = "hashicorp/archive"
31+
version = ">= 1.2, < 3.0"
32+
}
2533
}
2634

2735
provider_meta "google" {

0 commit comments

Comments
 (0)