@friggframework/devtools 2.0.0--canary.461.709ac64.0 → 2.0.0--canary.461.9cc128b.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.
|
@@ -103,9 +103,9 @@ class AuroraBuilder extends InfrastructureBuilder {
|
|
|
103
103
|
if (vpcIsolation === 'isolated') {
|
|
104
104
|
// Check if CloudFormation stack already has Aurora (stage-specific)
|
|
105
105
|
// CloudFormation discovery sets 'auroraClusterId' (string) when found in stack
|
|
106
|
-
const hasStackAurora = discoveredResources?.auroraClusterId &&
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
const hasStackAurora = discoveredResources?.auroraClusterId &&
|
|
107
|
+
typeof discoveredResources.auroraClusterId === 'string';
|
|
108
|
+
|
|
109
109
|
if (hasStackAurora) {
|
|
110
110
|
// Stack has Aurora - reuse it (standard flow: stack → orphaned → create)
|
|
111
111
|
management = 'discover';
|
|
@@ -129,6 +129,10 @@ class VpcBuilder extends InfrastructureBuilder {
|
|
|
129
129
|
const globalMode = appDefinition.managementMode || 'discover';
|
|
130
130
|
const vpcIsolation = appDefinition.vpcIsolation || 'shared';
|
|
131
131
|
|
|
132
|
+
// Debug logging
|
|
133
|
+
console.log(` 🔍 DEBUG: globalMode = '${globalMode}', vpcIsolation = '${vpcIsolation}'`);
|
|
134
|
+
console.log(` 🔍 DEBUG: discoveredResources =`, JSON.stringify(discoveredResources, null, 2));
|
|
135
|
+
|
|
132
136
|
let management = appDefinition.vpc.management;
|
|
133
137
|
|
|
134
138
|
if (globalMode === 'managed') {
|
|
@@ -146,11 +150,11 @@ class VpcBuilder extends InfrastructureBuilder {
|
|
|
146
150
|
// Check if CloudFormation stack already has a VPC (stage-specific)
|
|
147
151
|
// CloudFormation discovery sets 'defaultVpcId' (string) when found in stack
|
|
148
152
|
const hasStackVpc = discoveredResources?.defaultVpcId && typeof discoveredResources.defaultVpcId === 'string';
|
|
149
|
-
|
|
153
|
+
|
|
150
154
|
// Debug logging
|
|
151
155
|
console.log(` 🔍 DEBUG: discoveredResources.defaultVpcId = ${discoveredResources?.defaultVpcId} (type: ${typeof discoveredResources?.defaultVpcId})`);
|
|
152
156
|
console.log(` 🔍 DEBUG: hasStackVpc = ${hasStackVpc}`);
|
|
153
|
-
|
|
157
|
+
|
|
154
158
|
if (hasStackVpc) {
|
|
155
159
|
// Stack has VPC - reuse it (standard flow: stack → orphaned → create)
|
|
156
160
|
management = 'discover';
|
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.9cc128b.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.9cc128b.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.9cc128b.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.9cc128b.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.9cc128b.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": "9cc128b2052ab29ee18f3aa04a34c200346a2a8f"
|
|
74
74
|
}
|