Skip to content

Commit

Permalink
Fixed comparisson with objects/maps
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko committed Jan 12, 2024
1 parent 8b7750e commit 2f9a8cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.83.5
rev: v1.86.0
hooks:
- id: terraform_fmt
- id: terraform_wrapper_module_for_each
Expand Down
2 changes: 1 addition & 1 deletion modules/docker-build/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "docker_registry_image" "this" {

keep_remotely = var.keep_remotely

triggers = var.triggers == {} ? { image_id = docker_image.this.image_id } : var.triggers
triggers = length(var.triggers) == 0 ? { image_id = docker_image.this.image_id } : var.triggers
}

resource "aws_ecr_repository" "this" {
Expand Down

0 comments on commit 2f9a8cd

Please sign in to comment.