Commit 23c9e31
fix: pass useNatInstance prop to MainStack (#71)
## Problem
The `useNatInstance` property was declared in `EnvironmentProps` and set
in the `props` object, but it was not being passed to the `MainStack`
constructor.
## Solution
Added `useNatInstance: props.useNatInstance` to the `MainStack`
constructor call.
## Changes
- Modified `cdk/bin/cdk.ts` to pass the `useNatInstance` prop to
`MainStack`
This ensures that the `useNatInstance` configuration is properly
propagated to the main stack, allowing users to control whether to use
NAT instances or NAT gateways.
<!-- DO NOT EDIT: System generated metadata -->
<!-- WORKER_ID:1765070357823049 -->
Co-authored-by: remote-swe-app[bot] <123456+remote-swe-app[bot]@users.noreply.github.com>1 parent 44b774e commit 23c9e31
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments