@friggframework/devtools 2.0.0--canary.490.cb533fb.0 → 2.0.0--canary.490.ee9f7cd.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.
@@ -362,14 +362,19 @@ class CloudFormationDiscovery {
362
362
 
363
363
  // CRITICAL: Extract subnet ID from association physical ID by querying EC2
364
364
  // Physical ID is the association ID (rtbassoc-xxx), need to query to get subnet
365
+ console.log(` DEBUG: Checking if this is subnet 1 association: LogicalResourceId="${LogicalResourceId}", matches=${LogicalResourceId === 'FriggSubnet1RouteAssociation' || LogicalResourceId === 'FriggPrivateSubnet1RouteTableAssociation'}`);
366
+ console.log(` DEBUG: this.provider=${!!this.provider}, getEC2Client=${!!(this.provider && this.provider.getEC2Client)}`);
367
+
365
368
  if (this.provider && this.provider.getEC2Client &&
366
369
  (LogicalResourceId === 'FriggSubnet1RouteAssociation' || LogicalResourceId === 'FriggPrivateSubnet1RouteTableAssociation')) {
367
370
  // Store association ID to query later (after loop)
368
371
  discovered._subnet1AssociationId = PhysicalResourceId;
372
+ console.log(` DEBUG: Set _subnet1AssociationId = ${PhysicalResourceId}`);
369
373
  }
370
374
  if (this.provider && this.provider.getEC2Client &&
371
375
  (LogicalResourceId === 'FriggSubnet2RouteAssociation' || LogicalResourceId === 'FriggPrivateSubnet2RouteTableAssociation')) {
372
376
  discovered._subnet2AssociationId = PhysicalResourceId;
377
+ console.log(` DEBUG: Set _subnet2AssociationId = ${PhysicalResourceId}`);
373
378
  }
374
379
  }
375
380
 
@@ -558,7 +563,7 @@ class CloudFormationDiscovery {
558
563
  // Query route table by association ID to get subnet
559
564
  const rtResponse = await ec2.send(new DescribeRouteTablesCommand({
560
565
  Filters: [
561
- { Name: 'association.association-id', Values: [discovered._subnet1AssociationId] }
566
+ { Name: 'association.route-table-association-id', Values: [discovered._subnet1AssociationId] }
562
567
  ]
563
568
  }));
564
569
 
@@ -583,7 +588,7 @@ class CloudFormationDiscovery {
583
588
 
584
589
  const rtResponse = await ec2.send(new DescribeRouteTablesCommand({
585
590
  Filters: [
586
- { Name: 'association.association-id', Values: [discovered._subnet2AssociationId] }
591
+ { Name: 'association.route-table-association-id', Values: [discovered._subnet2AssociationId] }
587
592
  ]
588
593
  }));
589
594
 
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.cb533fb.0",
4
+ "version": "2.0.0--canary.490.ee9f7cd.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.cb533fb.0",
20
- "@friggframework/schemas": "2.0.0--canary.490.cb533fb.0",
21
- "@friggframework/test": "2.0.0--canary.490.cb533fb.0",
19
+ "@friggframework/core": "2.0.0--canary.490.ee9f7cd.0",
20
+ "@friggframework/schemas": "2.0.0--canary.490.ee9f7cd.0",
21
+ "@friggframework/test": "2.0.0--canary.490.ee9f7cd.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.cb533fb.0",
50
- "@friggframework/prettier-config": "2.0.0--canary.490.cb533fb.0",
49
+ "@friggframework/eslint-config": "2.0.0--canary.490.ee9f7cd.0",
50
+ "@friggframework/prettier-config": "2.0.0--canary.490.ee9f7cd.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": "cb533fb53e9fbf7c67a9336d36ad60eb27c3cbdc"
82
+ "gitHead": "ee9f7cd21f4416796e793cb78596dbd8a03e2030"
83
83
  }