From 9c3f11601f1ee9d7e429f9e194c97352500d4bda Mon Sep 17 00:00:00 2001 From: Chris O'Neil Date: Mon, 6 Jan 2025 22:00:39 +0000 Subject: [PATCH] fix: use correct default value for nat gateway setup This should be true by default, because the only case in which private nodes are not provisioned is if the user explicitly sets the count to 0. --- src/deploy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deploy.rs b/src/deploy.rs index 07b0598..a895dd2 100644 --- a/src/deploy.rs +++ b/src/deploy.rs @@ -89,7 +89,7 @@ impl TestnetDeployer { setup_nat_gateway: options .private_node_vm_count .map(|count| count > 0) - .unwrap_or(false), + .unwrap_or(true), tfvars_filename: options.environment_type.get_tfvars_filename(&options.name), uploader_vm_count: options.uploader_vm_count, uploader_vm_size: options.uploader_vm_size.clone(),