@friggframework/devtools 2.0.0--canary.490.7c91c8a.0 → 2.0.0--canary.490.10eff0a.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.
|
@@ -159,6 +159,9 @@ class VpcBuilder extends InfrastructureBuilder {
|
|
|
159
159
|
} else if (logicalId === 'FriggNATGateway') {
|
|
160
160
|
resourceType = 'AWS::EC2::NatGateway';
|
|
161
161
|
physicalId = flatDiscovery.existingNatGatewayId;
|
|
162
|
+
} else if (logicalId === 'FriggLambdaRouteTable') {
|
|
163
|
+
resourceType = 'AWS::EC2::RouteTable';
|
|
164
|
+
physicalId = flatDiscovery.routeTableId;
|
|
162
165
|
} else if (logicalId === 'FriggS3VPCEndpoint') {
|
|
163
166
|
resourceType = 'AWS::EC2::VPCEndpoint';
|
|
164
167
|
physicalId = flatDiscovery.s3VpcEndpointId;
|
|
@@ -1718,7 +1721,7 @@ class VpcBuilder extends InfrastructureBuilder {
|
|
|
1718
1721
|
// Stack-managed resources should be reused, not recreated
|
|
1719
1722
|
const stackManagedEndpoints = {
|
|
1720
1723
|
s3: discoveredResources.s3VpcEndpointId && typeof discoveredResources.s3VpcEndpointId === 'string',
|
|
1721
|
-
dynamodb: discoveredResources.
|
|
1724
|
+
dynamodb: discoveredResources.dynamodbVpcEndpointId && typeof discoveredResources.dynamodbVpcEndpointId === 'string',
|
|
1722
1725
|
kms: discoveredResources.kmsVpcEndpointId && typeof discoveredResources.kmsVpcEndpointId === 'string',
|
|
1723
1726
|
secretsManager: discoveredResources.secretsManagerVpcEndpointId && typeof discoveredResources.secretsManagerVpcEndpointId === 'string',
|
|
1724
1727
|
sqs: discoveredResources.sqsVpcEndpointId && typeof discoveredResources.sqsVpcEndpointId === 'string',
|
|
@@ -418,7 +418,7 @@ class CloudFormationDiscovery {
|
|
|
418
418
|
// DynamoDB Endpoint (both naming patterns)
|
|
419
419
|
if ((LogicalResourceId === 'FriggDynamoDBVPCEndpoint' || LogicalResourceId === 'VPCEndpointDynamoDB') &&
|
|
420
420
|
ResourceType === 'AWS::EC2::VPCEndpoint') {
|
|
421
|
-
discovered.
|
|
421
|
+
discovered.dynamodbVpcEndpointId = PhysicalResourceId; // Note: all lowercase for consistency
|
|
422
422
|
discovered.vpcEndpoints.dynamodb = PhysicalResourceId;
|
|
423
423
|
console.log(` ✓ Found DynamoDB VPC endpoint in stack: ${PhysicalResourceId}`);
|
|
424
424
|
}
|
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.
|
|
4
|
+
"version": "2.0.0--canary.490.10eff0a.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.
|
|
20
|
-
"@friggframework/schemas": "2.0.0--canary.490.
|
|
21
|
-
"@friggframework/test": "2.0.0--canary.490.
|
|
19
|
+
"@friggframework/core": "2.0.0--canary.490.10eff0a.0",
|
|
20
|
+
"@friggframework/schemas": "2.0.0--canary.490.10eff0a.0",
|
|
21
|
+
"@friggframework/test": "2.0.0--canary.490.10eff0a.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.
|
|
50
|
-
"@friggframework/prettier-config": "2.0.0--canary.490.
|
|
49
|
+
"@friggframework/eslint-config": "2.0.0--canary.490.10eff0a.0",
|
|
50
|
+
"@friggframework/prettier-config": "2.0.0--canary.490.10eff0a.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": "
|
|
82
|
+
"gitHead": "10eff0ae7ff87794900048cb0cc357714232e4cf"
|
|
83
83
|
}
|