Skip to content

Commit 397b26f

Browse files
committed
chore: address review comments
1 parent 458999e commit 397b26f

File tree

4 files changed

+97
-176
lines changed

4 files changed

+97
-176
lines changed

examples/multi-runner/main.tf

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ locals {
1717
runner_config = merge(
1818
v.runner_config,
1919
{
20-
subnet_ids = lookup(v.runner_config, "subnet_ids", null) != null ? module.base_other.vpc.private_subnets : null
21-
vpc_id = lookup(v.runner_config, "vpc_id", null) != null ? module.base_other.vpc.vpc_id : null
20+
subnet_ids = lookup(v.runner_config, "subnet_ids", null) != null ? [module.base.vpc.private_subnets[0]] : null
21+
vpc_id = lookup(v.runner_config, "vpc_id", null) != null ? module.base.vpc.vpc_id : null
2222
}
2323
)
2424
}
@@ -37,13 +37,6 @@ module "base" {
3737
aws_region = local.aws_region
3838
}
3939

40-
module "base_other" {
41-
source = "../base"
42-
43-
prefix = "${local.environment}-other"
44-
aws_region = local.aws_region
45-
}
46-
4740
module "runners" {
4841
source = "../../modules/multi-runner"
4942
multi_runner_config = local.multi_runner_config

modules/multi-runner/.terraform.lock.hcl

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)