@friggframework/devtools 2.0.0--canary.490.29d0c40.0 → 2.0.0--canary.490.5a16b80.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.
@@ -149,7 +149,7 @@ class VpcBuilder extends InfrastructureBuilder {
149
149
  physicalId = flatDiscovery.defaultVpcId;
150
150
  } else if (logicalId === 'FriggLambdaSecurityGroup') {
151
151
  resourceType = 'AWS::EC2::SecurityGroup';
152
- physicalId = flatDiscovery.defaultSecurityGroupId || flatDiscovery.securityGroupId;
152
+ physicalId = flatDiscovery.lambdaSecurityGroupId || flatDiscovery.defaultSecurityGroupId || flatDiscovery.securityGroupId;
153
153
  } else if (logicalId === 'FriggPrivateSubnet1') {
154
154
  resourceType = 'AWS::EC2::Subnet';
155
155
  physicalId = flatDiscovery.privateSubnetId1;
@@ -394,6 +394,8 @@ class CloudFormationDiscovery {
394
394
  // Lambda Security Group (if created in stack)
395
395
  if (LogicalResourceId === 'FriggLambdaSecurityGroup' && ResourceType === 'AWS::EC2::SecurityGroup') {
396
396
  discovered.lambdaSecurityGroupId = PhysicalResourceId;
397
+ // Also set as defaultSecurityGroupId so converter recognizes it
398
+ discovered.defaultSecurityGroupId = PhysicalResourceId;
397
399
  console.log(` ✓ Found Lambda security group in stack: ${PhysicalResourceId}`);
398
400
  }
399
401
 
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.490.29d0c40.0",
4
+ "version": "2.0.0--canary.490.5a16b80.0",
5
5
  "bin": {
6
6
  "frigg": "./frigg-cli/index.js"
7
7
  },
@@ -16,9 +16,9 @@
16
16
  "@babel/eslint-parser": "^7.18.9",
17
17
  "@babel/parser": "^7.25.3",
18
18
  "@babel/traverse": "^7.25.3",
19
- "@friggframework/core": "2.0.0--canary.490.29d0c40.0",
20
- "@friggframework/schemas": "2.0.0--canary.490.29d0c40.0",
21
- "@friggframework/test": "2.0.0--canary.490.29d0c40.0",
19
+ "@friggframework/core": "2.0.0--canary.490.5a16b80.0",
20
+ "@friggframework/schemas": "2.0.0--canary.490.5a16b80.0",
21
+ "@friggframework/test": "2.0.0--canary.490.5a16b80.0",
22
22
  "@hapi/boom": "^10.0.1",
23
23
  "@inquirer/prompts": "^5.3.8",
24
24
  "axios": "^1.7.2",
@@ -46,8 +46,8 @@
46
46
  "validate-npm-package-name": "^5.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@friggframework/eslint-config": "2.0.0--canary.490.29d0c40.0",
50
- "@friggframework/prettier-config": "2.0.0--canary.490.29d0c40.0",
49
+ "@friggframework/eslint-config": "2.0.0--canary.490.5a16b80.0",
50
+ "@friggframework/prettier-config": "2.0.0--canary.490.5a16b80.0",
51
51
  "aws-sdk-client-mock": "^4.1.0",
52
52
  "aws-sdk-client-mock-jest": "^4.1.0",
53
53
  "jest": "^30.1.3",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "29d0c40d4375bdda93ce9753fe0beb2e5a0a4ef1"
82
+ "gitHead": "5a16b8073706ae42c15a9b983a9cee83968af058"
83
83
  }