File tree Expand file tree Collapse file tree 4 files changed +281
-13
lines changed Expand file tree Collapse file tree 4 files changed +281
-13
lines changed Original file line number Diff line number Diff line change 55 n2c . url = "github:nlewo/nix2container" ;
66 data-merge . url = "github:divnix/data-merge" ;
77 # --- Bitte Stack ----------------------------------------------
8- bitte . url = "github:input-output-hk/bitte" ;
9- # bitte.url = "path:/home/jlotoski/work/iohk/bitte-wt/fix-core-user-data ";
8+ bitte . url = "github:input-output-hk/bitte/zt " ;
9+ # bitte.url = "path:/home/jlotoski/work/iohk/bitte-wt/zt ";
1010 # bitte.url = "path:/home/manveru/github/input-output-hk/bitte";
1111 bitte-cells . url = "github:input-output-hk/bitte-cells" ;
1212 # bitte-cells.url = "path:/home/jlotoski/work/iohk/bitte-cells-wt/bitte-cells";
3030 cicero . inputs . spongix . follows = "spongix" ;
3131 cicero . inputs . driver . follows = "nomad-driver-nix" ;
3232 tullia . url = "github:input-output-hk/tullia" ;
33+ openziti . url = "github:johnalotoski/openziti-bins" ;
34+ openziti . inputs . nixpkgs . follows = "nixpkgs" ;
3335 # --------------------------------------------------------------
3436 } ;
3537
Original file line number Diff line number Diff line change 2525 flakePath = "${ inputs . self } " ;
2626 vbkBackend = "local" ;
2727 builder = "cache" ;
28+ transitGateway = {
29+ enable = true ;
30+ transitRoutes = [
31+ {
32+ gatewayCoreNodeName = "zt" ;
33+ cidrRange = "10.10.0.0/24" ;
34+ }
35+ ] ;
36+ } ;
2837
2938 autoscalingGroups = let
3039 defaultModules = [
@@ -231,6 +240,37 @@ in {
231240 inherit ( securityGroupRules ) internet internal ssh ;
232241 } ;
233242 } ;
243+
244+ zt = {
245+ # https://support.netfoundry.io/hc/en-us/articles/360025875331-Edge-Router-VM-Sizing-Guide
246+ instanceType = "c5.large" ;
247+ privateIP = "172.16.0.30" ;
248+ subnet = cluster . vpc . subnets . core-1 ;
249+ volumeSize = 100 ;
250+ sourceDestCheck = false ;
251+
252+ modules = [
253+ ( bitte + /profiles/common.nix )
254+ ( bitte + /modules/ziti/ziti-controller.nix )
255+ ( bitte + /modules/ziti/ziti-router.nix )
256+ ( bitte + /modules/ziti/ziti-console.nix )
257+ ( bitte + /modules/ziti/ziti-edge-tunnel.nix )
258+ ./ziti.nix
259+ ] ;
260+
261+ securityGroupRules = {
262+ inherit
263+ ( securityGroupRules )
264+ internal
265+ internet
266+ ssh
267+ ziti-controller-mgmt
268+ ziti-controller-rest
269+ ziti-router-edge
270+ ziti-router-fabric
271+ ;
272+ } ;
273+ } ;
234274 } ;
235275 } ;
236276 } ;
You can’t perform that action at this time.
0 commit comments