@friggframework/schemas 2.0.0--canary.461.f81618e.0 → 2.0.0--canary.461.b4ab96e.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.f81618e.0",
3
+ "version": "2.0.0--canary.461.b4ab96e.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": "f81618e26251ee880f57bb29ffefe7decec796b5"
42
+ "gitHead": "b4ab96e66e22c1d48bbd77bc48374b4df6c7fb0a"
43
43
  }
@@ -6,18 +6,6 @@
6
6
  "type": "object",
7
7
  "required": ["integrations"],
8
8
  "properties": {
9
- "managementMode": {
10
- "type": "string",
11
- "description": "Global resource management strategy. 'discover' (default) uses granular *.management options for each resource. 'managed' creates/manages all enabled resources automatically (ignores granular options with warnings). 'existing' requires explicit resource IDs. Provides simplified API while maintaining backwards compatibility.",
12
- "enum": ["managed", "discover", "existing"],
13
- "default": "discover"
14
- },
15
- "vpcIsolation": {
16
- "type": "string",
17
- "description": "VPC and database isolation strategy when managementMode='managed'. 'shared' (default): stages share VPC/NAT/Aurora with stage-specific subnets (~$32/month NAT). 'isolated': each stage gets separate VPC/NAT/Aurora (~$32/month per stage). Ignored when managementMode != 'managed'.",
18
- "enum": ["shared", "isolated"],
19
- "default": "shared"
20
- },
21
9
  "name": {
22
10
  "type": "string",
23
11
  "description": "Service name for deployment (used as CloudFormation stack name prefix)",
@@ -230,8 +218,8 @@
230
218
  },
231
219
  "management": {
232
220
  "type": "string",
233
- "description": "How to manage the PostgreSQL database. IGNORED when managementMode='managed' (automatically determined by vpcIsolation). 'discover' uses existing Aurora cluster, 'managed' creates Aurora Serverless cluster, 'existing' uses provided endpoint. For backwards compatibility only.",
234
- "enum": ["discover", "managed", "existing"],
221
+ "description": "How to manage the PostgreSQL database",
222
+ "enum": ["discover", "create-new", "existing"],
235
223
  "default": "discover"
236
224
  },
237
225
  "endpoint": {
@@ -316,15 +304,10 @@
316
304
  "description": "Enable VPC for Lambda functions",
317
305
  "default": false
318
306
  },
319
- "shareAcrossStages": {
320
- "type": "boolean",
321
- "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.",
322
- "default": true
323
- },
324
307
  "management": {
325
308
  "type": "string",
326
- "description": "How to manage VPC infrastructure. IGNORED when managementMode='managed' (use vpcIsolation instead). 'discover' reuses existing VPC, 'create-new' creates new VPC, 'use-existing' requires vpcId. For backwards compatibility only.",
327
- "enum": ["discover", "create-new", "use-existing"],
309
+ "description": "How to manage VPC infrastructure",
310
+ "enum": ["discover", "create-new", "existing"],
328
311
  "default": "discover"
329
312
  },
330
313
  "vpcId": {
@@ -354,9 +337,9 @@
354
337
  "properties": {
355
338
  "management": {
356
339
  "type": "string",
357
- "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",
358
- "enum": ["discover", "create", "use-existing"],
359
- "default": "create"
340
+ "description": "How to manage subnets",
341
+ "enum": ["discover", "create-new", "existing"],
342
+ "default": "discover"
360
343
  },
361
344
  "ids": {
362
345
  "type": "array",
@@ -377,8 +360,8 @@
377
360
  "properties": {
378
361
  "management": {
379
362
  "type": "string",
380
- "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",
381
- "enum": ["discover", "createAndManage", "use-existing"],
363
+ "description": "How to manage NAT Gateway",
364
+ "enum": ["discover", "create-new", "existing"],
382
365
  "default": "discover"
383
366
  },
384
367
  "id": {
@@ -600,8 +583,6 @@
600
583
  {
601
584
  "name": "my-frigg-app",
602
585
  "provider": "aws",
603
- "managementMode": "managed",
604
- "vpcIsolation": "shared",
605
586
  "environment": {
606
587
  "NODE_ENV": true,
607
588
  "API_KEY": true
@@ -613,17 +594,18 @@
613
594
  "database": {
614
595
  "postgres": {
615
596
  "enable": true,
616
- "minCapacity": 0.5,
617
- "maxCapacity": 1
597
+ "management": "create-new"
618
598
  }
619
599
  },
620
600
  "encryption": {
621
- "fieldLevelEncryptionMethod": "kms"
601
+ "fieldLevelEncryptionMethod": "kms",
602
+ "createResourceIfNoneFound": true
622
603
  },
623
604
  "vpc": {
624
605
  "enable": true,
625
- "enableVPCEndpoints": true,
626
- "selfHeal": true
606
+ "management": "create-new",
607
+ "cidrBlock": "10.0.0.0/16",
608
+ "enableVPCEndpoints": true
627
609
  },
628
610
  "ssm": {
629
611
  "enable": true