From a6c3ff0758bdc24edb455cb78f5fe354c9f3f2c4 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 15 Mar 2024 10:40:21 -0700 Subject: [PATCH] fix: auto-format --- justfile | 6 +++--- terraform/res_application.tf | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/justfile b/justfile index 03e0735..5295ed6 100644 --- a/justfile +++ b/justfile @@ -137,16 +137,16 @@ commit-check: echo '==> cog not found in PATH, skipping' fi -tf-lint: tf-validate tf-check-fmt tfsec tflint +tf-lint: tf-validate tf-fmt tfsec tflint # Check Terraform formating -tf-check-fmt: +tf-fmt: #!/bin/bash set -euo pipefail if command -v terraform >/dev/null; then echo '==> Checking terraform fmt' - terraform -chdir=terraform fmt -check -recursive + terraform -chdir=terraform fmt -recursive else echo '==> Terraform not found in PATH, skipping' fi diff --git a/terraform/res_application.tf b/terraform/res_application.tf index b6ec1f3..ab061e4 100644 --- a/terraform/res_application.tf +++ b/terraform/res_application.tf @@ -8,10 +8,10 @@ module "ecs" { context = module.this # Cluster - ecr_repository_url = local.ecr_repository_url - image_version = var.image_version - task_cpu = 512 - task_memory = 1024 + ecr_repository_url = local.ecr_repository_url + image_version = var.image_version + task_cpu = 512 + task_memory = 1024 autoscaling_desired_count = 2 autoscaling_min_capacity = 2 autoscaling_max_capacity = 8