@friggframework/devtools 2.0.0--canary.461.709ac64.0 → 2.0.0--canary.461.c930ee6.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,11 @@ 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.defaultVpcId = ${discoveredResources?.defaultVpcId}`);
|
|
135
|
+
console.log(` 🔍 DEBUG: discoveredResources keys = ${Object.keys(discoveredResources || {}).join(', ')}`);
|
|
136
|
+
|
|
132
137
|
let management = appDefinition.vpc.management;
|
|
133
138
|
|
|
134
139
|
if (globalMode === 'managed') {
|
|
@@ -146,11 +151,11 @@ class VpcBuilder extends InfrastructureBuilder {
|
|
|
146
151
|
// Check if CloudFormation stack already has a VPC (stage-specific)
|
|
147
152
|
// CloudFormation discovery sets 'defaultVpcId' (string) when found in stack
|
|
148
153
|
const hasStackVpc = discoveredResources?.defaultVpcId && typeof discoveredResources.defaultVpcId === 'string';
|
|
149
|
-
|
|
154
|
+
|
|
150
155
|
// Debug logging
|
|
151
156
|
console.log(` 🔍 DEBUG: discoveredResources.defaultVpcId = ${discoveredResources?.defaultVpcId} (type: ${typeof discoveredResources?.defaultVpcId})`);
|
|
152
157
|
console.log(` 🔍 DEBUG: hasStackVpc = ${hasStackVpc}`);
|
|
153
|
-
|
|
158
|
+
|
|
154
159
|
if (hasStackVpc) {
|
|
155
160
|
// Stack has VPC - reuse it (standard flow: stack → orphaned → create)
|
|
156
161
|
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.c930ee6.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.c930ee6.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.c930ee6.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.c930ee6.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.c930ee6.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": "c930ee689c0dc0aa2a5eb51b445454fc95f2ce7a"
|
|
74
74
|
}
|