@friggframework/devtools 2.0.0--canary.461.d1a7bbb.0 → 2.0.0--canary.461.4066059.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.
|
@@ -435,21 +435,21 @@ class VpcBuilder extends InfrastructureBuilder {
|
|
|
435
435
|
// - create-new mode: create
|
|
436
436
|
// - discover mode without stack subnets: create (for stage isolation)
|
|
437
437
|
let defaultSubnetManagement = 'create';
|
|
438
|
-
|
|
438
|
+
|
|
439
439
|
// Check if stack-managed subnets were discovered from CloudFormation
|
|
440
440
|
// Only reuse if they're actual subnet IDs (strings), not CloudFormation Refs (objects)
|
|
441
|
-
const hasStackManagedSubnets =
|
|
442
|
-
discoveredResources?.privateSubnetId1 &&
|
|
441
|
+
const hasStackManagedSubnets =
|
|
442
|
+
discoveredResources?.privateSubnetId1 &&
|
|
443
443
|
discoveredResources?.privateSubnetId2 &&
|
|
444
444
|
typeof discoveredResources.privateSubnetId1 === 'string' &&
|
|
445
445
|
typeof discoveredResources.privateSubnetId2 === 'string';
|
|
446
|
-
|
|
446
|
+
|
|
447
447
|
if (hasStackManagedSubnets) {
|
|
448
448
|
defaultSubnetManagement = 'discover';
|
|
449
449
|
} else if (vpcManagement === 'use-existing' && appDefinition.vpc.subnets?.ids?.length >= 2) {
|
|
450
450
|
defaultSubnetManagement = 'use-existing';
|
|
451
451
|
}
|
|
452
|
-
|
|
452
|
+
|
|
453
453
|
const subnetManagement = appDefinition.vpc.subnets?.management || defaultSubnetManagement;
|
|
454
454
|
|
|
455
455
|
console.log(` Subnet Management Mode: ${subnetManagement} (default: ${defaultSubnetManagement}, explicit: ${appDefinition.vpc.subnets?.management})`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/devtools",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "2.0.0--canary.461.
|
|
4
|
+
"version": "2.0.0--canary.461.4066059.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-ec2": "^3.835.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.835.0",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@babel/eslint-parser": "^7.18.9",
|
|
12
12
|
"@babel/parser": "^7.25.3",
|
|
13
13
|
"@babel/traverse": "^7.25.3",
|
|
14
|
-
"@friggframework/schemas": "2.0.0--canary.461.
|
|
15
|
-
"@friggframework/test": "2.0.0--canary.461.
|
|
14
|
+
"@friggframework/schemas": "2.0.0--canary.461.4066059.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.4066059.0",
|
|
16
16
|
"@hapi/boom": "^10.0.1",
|
|
17
17
|
"@inquirer/prompts": "^5.3.8",
|
|
18
18
|
"axios": "^1.7.2",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"serverless-http": "^2.7.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@friggframework/eslint-config": "2.0.0--canary.461.
|
|
38
|
-
"@friggframework/prettier-config": "2.0.0--canary.461.
|
|
37
|
+
"@friggframework/eslint-config": "2.0.0--canary.461.4066059.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.4066059.0",
|
|
39
39
|
"aws-sdk-client-mock": "^4.1.0",
|
|
40
40
|
"aws-sdk-client-mock-jest": "^4.1.0",
|
|
41
41
|
"jest": "^30.1.3",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "4066059afecf11231ca7ff94cc4483b47f5b6e74"
|
|
74
74
|
}
|