@friggframework/devtools 2.0.0--canary.461.54b9dc9.0 → 2.0.0--canary.461.ab0a628.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.
|
@@ -201,6 +201,7 @@ class MigrationBuilder extends InfrastructureBuilder {
|
|
|
201
201
|
// Add IAM permissions for S3 (migration status storage)
|
|
202
202
|
// Migration functions need to read/write migration status in S3
|
|
203
203
|
// to avoid chicken-and-egg dependency on User/Process tables
|
|
204
|
+
// Note: Uses wildcard for bucket as S3_BUCKET_NAME is set at runtime via environment
|
|
204
205
|
result.iamStatements.push({
|
|
205
206
|
Effect: 'Allow',
|
|
206
207
|
Action: [
|
|
@@ -208,9 +209,7 @@ class MigrationBuilder extends InfrastructureBuilder {
|
|
|
208
209
|
's3:GetObject',
|
|
209
210
|
's3:DeleteObject',
|
|
210
211
|
],
|
|
211
|
-
Resource:
|
|
212
|
-
'Fn::Sub': 'arn:aws:s3:::${S3BucketName}/migrations/*',
|
|
213
|
-
},
|
|
212
|
+
Resource: 'arn:aws:s3:::*/migrations/*', // Wildcard allows any S3 bucket
|
|
214
213
|
});
|
|
215
214
|
|
|
216
215
|
console.log(' ✓ Added S3 IAM permissions for migration status tracking');
|
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.461.
|
|
4
|
+
"version": "2.0.0--canary.461.ab0a628.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@aws-sdk/client-ec2": "^3.835.0",
|
|
7
7
|
"@aws-sdk/client-kms": "^3.835.0",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@babel/eslint-parser": "^7.18.9",
|
|
12
12
|
"@babel/parser": "^7.25.3",
|
|
13
13
|
"@babel/traverse": "^7.25.3",
|
|
14
|
-
"@friggframework/schemas": "2.0.0--canary.461.
|
|
15
|
-
"@friggframework/test": "2.0.0--canary.461.
|
|
14
|
+
"@friggframework/schemas": "2.0.0--canary.461.ab0a628.0",
|
|
15
|
+
"@friggframework/test": "2.0.0--canary.461.ab0a628.0",
|
|
16
16
|
"@hapi/boom": "^10.0.1",
|
|
17
17
|
"@inquirer/prompts": "^5.3.8",
|
|
18
18
|
"axios": "^1.7.2",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"serverless-http": "^2.7.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@friggframework/eslint-config": "2.0.0--canary.461.
|
|
38
|
-
"@friggframework/prettier-config": "2.0.0--canary.461.
|
|
37
|
+
"@friggframework/eslint-config": "2.0.0--canary.461.ab0a628.0",
|
|
38
|
+
"@friggframework/prettier-config": "2.0.0--canary.461.ab0a628.0",
|
|
39
39
|
"aws-sdk-client-mock": "^4.1.0",
|
|
40
40
|
"aws-sdk-client-mock-jest": "^4.1.0",
|
|
41
41
|
"jest": "^30.1.3",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "ab0a628208fba30774e2d6b3a797e379bc28b89b"
|
|
74
74
|
}
|