Skip to content

Commit

Permalink
fix: auto-format
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Mar 15, 2024
1 parent acd5ec1 commit a6c3ff0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions terraform/res_application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6c3ff0

Please sign in to comment.