@friggframework/core 2.0.0--canary.461.8f52ae8.0 → 2.0.0--canary.461.4e275f3.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.
@@ -141,8 +141,11 @@ const detectVpcConfiguration = async () => {
141
141
  }
142
142
  }
143
143
 
144
- results.isInVpc =
145
- !results.hasInternetAccess || results.vpcEndpoints.length > 0;
144
+ // Check if Lambda is in VPC using VPC_ENABLED env var set by infrastructure
145
+ results.isInVpc = process.env.VPC_ENABLED === 'true' ||
146
+ (!results.hasInternetAccess && results.canResolvePublicDns) ||
147
+ results.vpcEndpoints.length > 0;
148
+
146
149
  results.canConnectToAws =
147
150
  results.hasInternetAccess || results.vpcEndpoints.length > 0;
148
151
  } catch (error) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@friggframework/core",
3
3
  "prettier": "@friggframework/prettier-config",
4
- "version": "2.0.0--canary.461.8f52ae8.0",
4
+ "version": "2.0.0--canary.461.4e275f3.0",
5
5
  "dependencies": {
6
6
  "@aws-sdk/client-apigatewaymanagementapi": "^3.588.0",
7
7
  "@aws-sdk/client-kms": "^3.588.0",
@@ -37,9 +37,9 @@
37
37
  }
38
38
  },
39
39
  "devDependencies": {
40
- "@friggframework/eslint-config": "2.0.0--canary.461.8f52ae8.0",
41
- "@friggframework/prettier-config": "2.0.0--canary.461.8f52ae8.0",
42
- "@friggframework/test": "2.0.0--canary.461.8f52ae8.0",
40
+ "@friggframework/eslint-config": "2.0.0--canary.461.4e275f3.0",
41
+ "@friggframework/prettier-config": "2.0.0--canary.461.4e275f3.0",
42
+ "@friggframework/test": "2.0.0--canary.461.4e275f3.0",
43
43
  "@prisma/client": "^6.17.0",
44
44
  "@types/lodash": "4.17.15",
45
45
  "@typescript-eslint/eslint-plugin": "^8.0.0",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "8f52ae84357c6b0fa02fe92bad85312590b8d17c"
82
+ "gitHead": "4e275f3550aa70a2d9a2eed110f51086a15035cd"
83
83
  }