@friggframework/devtools 2.0.0--canary.490.1829402.0 → 2.0.0--canary.490.feacde9.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.
@@ -1783,13 +1783,11 @@ class VpcBuilder extends InfrastructureBuilder {
1783
1783
  ? 'FriggNATRoute' // Use existing logical ID from stack (backwards compatibility)
1784
1784
  : 'FriggPrivateRoute'; // Default for new stacks
1785
1785
 
1786
- // Determine logical IDs for subnet associations (similar backwards compatibility)
1787
- const subnet1AssocLogicalId = existingLogicalIds.includes('FriggSubnet1RouteAssociation')
1788
- ? 'FriggSubnet1RouteAssociation' // Use existing (backwards compatibility)
1789
- : 'FriggPrivateSubnet1RouteTableAssociation'; // Default for new stacks
1790
- const subnet2AssocLogicalId = existingLogicalIds.includes('FriggSubnet2RouteAssociation')
1791
- ? 'FriggSubnet2RouteAssociation' // Use existing (backwards compatibility)
1792
- : 'FriggPrivateSubnet2RouteTableAssociation'; // Default for new stacks
1786
+ // Always use new logical IDs to force recreation and fix drift
1787
+ // Old IDs (FriggSubnet1RouteAssociation) may have drifted from CloudFormation state
1788
+ // Using new IDs forces CloudFormation to delete old and create new associations
1789
+ const subnet1AssocLogicalId = 'FriggPrivateSubnet1RouteTableAssociation';
1790
+ const subnet2AssocLogicalId = 'FriggPrivateSubnet2RouteTableAssociation';
1793
1791
 
1794
1792
  // Private route table with NAT Gateway route
1795
1793
  if (!result.resources.FriggLambdaRouteTable) {
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.1829402.0",
4
+ "version": "2.0.0--canary.490.feacde9.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.1829402.0",
20
- "@friggframework/schemas": "2.0.0--canary.490.1829402.0",
21
- "@friggframework/test": "2.0.0--canary.490.1829402.0",
19
+ "@friggframework/core": "2.0.0--canary.490.feacde9.0",
20
+ "@friggframework/schemas": "2.0.0--canary.490.feacde9.0",
21
+ "@friggframework/test": "2.0.0--canary.490.feacde9.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.1829402.0",
50
- "@friggframework/prettier-config": "2.0.0--canary.490.1829402.0",
49
+ "@friggframework/eslint-config": "2.0.0--canary.490.feacde9.0",
50
+ "@friggframework/prettier-config": "2.0.0--canary.490.feacde9.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": "182940218468f7784469911050ef45add99615c2"
82
+ "gitHead": "feacde9231638532344b5d000724b994a53f3a65"
83
83
  }