@friggframework/schemas 2.0.0--canary.461.e679ea5.0 → 2.0.0--canary.461.d885809.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.e679ea5.0",
3
+ "version": "2.0.0--canary.461.d885809.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": "e679ea5502f29133d25b93b6f5b36f9b3099f82c"
42
+ "gitHead": "d8858090c719e05e3bd548c092844430f728ff05"
43
43
  }
@@ -6,6 +6,18 @@
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
+ },
9
21
  "name": {
10
22
  "type": "string",
11
23
  "description": "Service name for deployment (used as CloudFormation stack name prefix)",
@@ -218,7 +230,7 @@
218
230
  },
219
231
  "management": {
220
232
  "type": "string",
221
- "description": "How to manage the PostgreSQL database: 'discover' uses existing Aurora cluster if found, 'managed' creates Aurora Serverless cluster, 'existing' uses provided endpoint",
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.",
222
234
  "enum": ["discover", "managed", "existing"],
223
235
  "default": "discover"
224
236
  },
@@ -311,7 +323,7 @@
311
323
  },
312
324
  "management": {
313
325
  "type": "string",
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",
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.",
315
327
  "enum": ["discover", "create-new", "use-existing"],
316
328
  "default": "discover"
317
329
  },
@@ -588,6 +600,8 @@
588
600
  {
589
601
  "name": "my-frigg-app",
590
602
  "provider": "aws",
603
+ "managementMode": "managed",
604
+ "vpcIsolation": "shared",
591
605
  "environment": {
592
606
  "NODE_ENV": true,
593
607
  "API_KEY": true
@@ -599,17 +613,17 @@
599
613
  "database": {
600
614
  "postgres": {
601
615
  "enable": true,
602
- "management": "managed"
616
+ "minCapacity": 0.5,
617
+ "maxCapacity": 1
603
618
  }
604
619
  },
605
620
  "encryption": {
606
- "fieldLevelEncryptionMethod": "kms",
607
- "createResourceIfNoneFound": true
621
+ "fieldLevelEncryptionMethod": "kms"
608
622
  },
609
623
  "vpc": {
610
624
  "enable": true,
611
- "shareAcrossStages": true,
612
- "enableVPCEndpoints": true
625
+ "enableVPCEndpoints": true,
626
+ "selfHeal": true
613
627
  },
614
628
  "ssm": {
615
629
  "enable": true