Skip to content

Commit 5995c13

Browse files
move getEnv
1 parent 309e773 commit 5995c13

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

terraform/bastion-host.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
associate_public_ip_address = false;
2323
vpc_id = config.setup.vpc;
2424
subnets = [
25-
getEnv "AWS_SUBNET_BASTION"
25+
config.setup.bastionSubnet
2626
# config.setup.subnets.primary
2727
# config.setup.subnets.secondary
2828
# config.setup.subnets.tertiary

terraform/main.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ in {
6363
secondary = getEnv "AWS_SUBNET_SECONDARY0";
6464
tertiary = getEnv "AWS_SUBNET_SECONDARY1";
6565
};
66+
bastionSubnet = getEnv "AWS_SUBNET_BASTION";
6667
};
6768

6869
functions =

0 commit comments

Comments
 (0)