Skip to content

Commit 5151d8a

Browse files
committed
Address TF format issues.
1 parent 67c9e8c commit 5151d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module "runners" {
6262

6363
instance_type = var.instance_type
6464

65-
ami_filter = substr(var.instance_type,0,2) == "a1" || substr(var.instance_type,1,2) == "6g" ? {name = ["amzn2-ami-hvm-2*-arm64-gp2"]} : {name = ["amzn2-ami-hvm-2.*-x86_64-ebs"]}
65+
ami_filter = substr(var.instance_type, 0, 2) == "a1" || substr(var.instance_type, 1, 2) == "6g" ? { name = ["amzn2-ami-hvm-2*-arm64-gp2"] } : { name = ["amzn2-ami-hvm-2.*-x86_64-ebs"] }
6666

6767
sqs_build_queue = aws_sqs_queue.queued_builds
6868
github_app = var.github_app
@@ -94,7 +94,7 @@ module "runner_binaries" {
9494

9595
distribution_bucket_name = "${var.environment}-dist-${random_string.random.result}"
9696

97-
runner_architecture = substr(var.instance_type,0,2) == "a1" || substr(var.instance_type,1,2) == "6g" ? "arm64" : "x64"
97+
runner_architecture = substr(var.instance_type, 0, 2) == "a1" || substr(var.instance_type, 1, 2) == "6g" ? "arm64" : "x64"
9898

9999
lambda_zip = var.runner_binaries_syncer_lambda_zip
100100
lambda_timeout = var.runner_binaries_syncer_lambda_timeout

0 commit comments

Comments
 (0)