Skip to content

Commit

Permalink
fix: use correct default value for nat gateway setup
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jacderida committed Jan 6, 2025
1 parent 3ed7dca commit 9c3f116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 9c3f116

Please sign in to comment.