Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/docker-image/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
count = module.this.enabled ? 1 : 0

provisioner "local-exec" {
command = "aws ecr get-login-password --region ${join("", data.aws_region.this.*.name)} | docker login --username AWS --password-stdin ${join("", data.aws_caller_identity.this.*.account_id)}.dkr.ecr.${join("", data.aws_region.this.*.name)}.amazonaws.com"
command = "aws ecr get-login-password --region ${join("", data.aws_region.this.*.region)} | docker login --username AWS --password-stdin ${join("", data.aws_caller_identity.this.*.account_id)}.dkr.ecr.${join("", data.aws_region.this.*.region)}.amazonaws.com"

Check warning on line 48 in examples/docker-image/main.tf

View workflow job for this annotation

GitHub Actions / terraform-module / CI / Lint (./examples/docker-image)

[tflint] reported by reviewdog 🐶 List items should be accessed using square brackets Raw Output: main.tf:48:237: warning: List items should be accessed using square brackets ()

Check warning on line 48 in examples/docker-image/main.tf

View workflow job for this annotation

GitHub Actions / terraform-module / CI / Lint (./examples/docker-image)

[tflint] reported by reviewdog 🐶 List items should be accessed using square brackets Raw Output: main.tf:48:182: warning: List items should be accessed using square brackets ()

Check warning on line 48 in examples/docker-image/main.tf

View workflow job for this annotation

GitHub Actions / terraform-module / CI / Lint (./examples/docker-image)

[tflint] reported by reviewdog 🐶 List items should be accessed using square brackets Raw Output: main.tf:48:83: warning: List items should be accessed using square brackets ()
}

depends_on = [null_resource.docker_build]
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ locals {
enabled = module.this.enabled
account_id = local.enabled ? data.aws_caller_identity.this[0].account_id : null
partition = local.enabled ? data.aws_partition.this[0].partition : null
region_name = local.enabled ? data.aws_region.this[0].name : null
region_name = local.enabled ? data.aws_region.this[0].region : null
}

module "cloudwatch_log_group" {
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.0"
version = ">= 6"
}
}
}
Loading