@friggframework/schemas 2.0.0--canary.461.ae78cad.0 → 2.0.0--canary.461.334ad0f.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/schemas",
|
|
3
|
-
"version": "2.0.0--canary.461.
|
|
3
|
+
"version": "2.0.0--canary.461.334ad0f.0",
|
|
4
4
|
"description": "Canonical JSON Schema definitions for Frigg Framework",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"validators/",
|
|
40
40
|
"index.js"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "334ad0f7c317f48d8945dcf7f27774aff17863e2"
|
|
43
43
|
}
|
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
},
|
|
219
219
|
"management": {
|
|
220
220
|
"type": "string",
|
|
221
|
-
"description": "How to manage the PostgreSQL database",
|
|
222
|
-
"enum": ["discover", "
|
|
221
|
+
"description": "How to manage the PostgreSQL database: 'discover' uses existing Aurora cluster if found, 'managed' creates Aurora Serverless cluster, 'existing' uses provided endpoint",
|
|
222
|
+
"enum": ["discover", "managed", "existing"],
|
|
223
223
|
"default": "discover"
|
|
224
224
|
},
|
|
225
225
|
"endpoint": {
|
|
@@ -304,10 +304,15 @@
|
|
|
304
304
|
"description": "Enable VPC for Lambda functions",
|
|
305
305
|
"default": false
|
|
306
306
|
},
|
|
307
|
+
"shareAcrossStages": {
|
|
308
|
+
"type": "boolean",
|
|
309
|
+
"description": "Share VPC and NAT Gateway across stages (dev/qa/prod). When true (default), reuses existing VPC/NAT Gateway with stage-specific subnets (~$32/month NAT cost). When false, creates completely isolated VPC, NAT Gateway, and subnets for each stage (~$32/month per stage). Provides simpler API than 'management' option.",
|
|
310
|
+
"default": true
|
|
311
|
+
},
|
|
307
312
|
"management": {
|
|
308
313
|
"type": "string",
|
|
309
|
-
"description": "How to manage VPC infrastructure",
|
|
310
|
-
"enum": ["discover", "create-new", "existing"],
|
|
314
|
+
"description": "How to manage VPC infrastructure (advanced option - use 'shareAcrossStages' for simpler configuration). 'discover' reuses existing VPC, 'create-new' creates new VPC, 'use-existing' requires vpcId",
|
|
315
|
+
"enum": ["discover", "create-new", "use-existing"],
|
|
311
316
|
"default": "discover"
|
|
312
317
|
},
|
|
313
318
|
"vpcId": {
|
|
@@ -337,9 +342,9 @@
|
|
|
337
342
|
"properties": {
|
|
338
343
|
"management": {
|
|
339
344
|
"type": "string",
|
|
340
|
-
"description": "How to manage subnets",
|
|
341
|
-
"enum": ["discover", "create
|
|
342
|
-
"default": "
|
|
345
|
+
"description": "How to manage subnets. Default 'create' creates stage-specific subnets for isolation (prevents route table conflicts). Use 'discover' to share subnets across stages (not recommended), or 'use-existing' with provided IDs",
|
|
346
|
+
"enum": ["discover", "create", "use-existing"],
|
|
347
|
+
"default": "create"
|
|
343
348
|
},
|
|
344
349
|
"ids": {
|
|
345
350
|
"type": "array",
|
|
@@ -360,8 +365,8 @@
|
|
|
360
365
|
"properties": {
|
|
361
366
|
"management": {
|
|
362
367
|
"type": "string",
|
|
363
|
-
"description": "How to manage NAT Gateway",
|
|
364
|
-
"enum": ["discover", "
|
|
368
|
+
"description": "How to manage NAT Gateway. 'discover' reuses existing NAT Gateway, 'createAndManage' creates new NAT Gateway, 'use-existing' requires provided ID. Automatically set to 'createAndManage' when shareAcrossStages=false",
|
|
369
|
+
"enum": ["discover", "createAndManage", "use-existing"],
|
|
365
370
|
"default": "discover"
|
|
366
371
|
},
|
|
367
372
|
"id": {
|
|
@@ -594,7 +599,7 @@
|
|
|
594
599
|
"database": {
|
|
595
600
|
"postgres": {
|
|
596
601
|
"enable": true,
|
|
597
|
-
"management": "
|
|
602
|
+
"management": "managed"
|
|
598
603
|
}
|
|
599
604
|
},
|
|
600
605
|
"encryption": {
|
|
@@ -603,8 +608,7 @@
|
|
|
603
608
|
},
|
|
604
609
|
"vpc": {
|
|
605
610
|
"enable": true,
|
|
606
|
-
"
|
|
607
|
-
"cidrBlock": "10.0.0.0/16",
|
|
611
|
+
"shareAcrossStages": true,
|
|
608
612
|
"enableVPCEndpoints": true
|
|
609
613
|
},
|
|
610
614
|
"ssm": {
|