sst 2.11.17 → 2.11.18

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.
package/bootstrap.js CHANGED
@@ -127,6 +127,11 @@ export async function bootstrapSST() {
127
127
  synthesizer: new DefaultStackSynthesizer({
128
128
  qualifier: cdk?.qualifier,
129
129
  fileAssetsBucketName: cdk?.fileAssetsBucketName,
130
+ deployRoleArn: cdk?.deployRoleArn,
131
+ fileAssetPublishingRoleArn: cdk?.fileAssetPublishingRoleArn,
132
+ imageAssetPublishingRoleArn: cdk?.imageAssetPublishingRoleArn,
133
+ cloudFormationExecutionRole: cdk?.cloudFormationExecutionRole,
134
+ lookupRoleArn: cdk?.lookupRoleArn,
130
135
  }),
131
136
  });
132
137
  // Add tags to stack
@@ -210,6 +210,11 @@ export class Stack extends CDKStack {
210
210
  return new DefaultStackSynthesizer({
211
211
  qualifier: config.cdk?.qualifier,
212
212
  fileAssetsBucketName: config.cdk?.fileAssetsBucketName,
213
+ deployRoleArn: config.cdk?.deployRoleArn,
214
+ fileAssetPublishingRoleArn: config.cdk?.fileAssetPublishingRoleArn,
215
+ imageAssetPublishingRoleArn: config.cdk?.imageAssetPublishingRoleArn,
216
+ cloudFormationExecutionRole: config.cdk?.cloudFormationExecutionRole,
217
+ lookupRoleArn: config.cdk?.lookupRoleArn,
213
218
  });
214
219
  }
215
220
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.11.17",
4
+ "version": "2.11.18",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
package/project.d.ts CHANGED
@@ -24,6 +24,11 @@ export interface ConfigOptions {
24
24
  fileAssetsBucketName?: string;
25
25
  customPermissionsBoundary?: string;
26
26
  publicAccessBlockConfiguration?: boolean;
27
+ deployRoleArn?: string;
28
+ fileAssetPublishingRoleArn?: string;
29
+ imageAssetPublishingRoleArn?: string;
30
+ cloudFormationExecutionRole?: string;
31
+ lookupRoleArn?: string;
27
32
  };
28
33
  }
29
34
  declare const DEFAULTS: {
package/sst.mjs CHANGED
@@ -284,6 +284,7 @@ async function load(input, shallow) {
284
284
  let contents = await fs3.readFile(args.path).then((x) => x.toString());
285
285
  const ast = babel.parse(contents, {
286
286
  sourceType: "module",
287
+ filename: "sst.config.ts",
287
288
  plugins: [ts]
288
289
  });
289
290
  babel.traverse(ast, {
@@ -5310,7 +5311,12 @@ async function bootstrapSST() {
5310
5311
  },
5311
5312
  synthesizer: new DefaultStackSynthesizer({
5312
5313
  qualifier: cdk?.qualifier,
5313
- fileAssetsBucketName: cdk?.fileAssetsBucketName
5314
+ fileAssetsBucketName: cdk?.fileAssetsBucketName,
5315
+ deployRoleArn: cdk?.deployRoleArn,
5316
+ fileAssetPublishingRoleArn: cdk?.fileAssetPublishingRoleArn,
5317
+ imageAssetPublishingRoleArn: cdk?.imageAssetPublishingRoleArn,
5318
+ cloudFormationExecutionRole: cdk?.cloudFormationExecutionRole,
5319
+ lookupRoleArn: cdk?.lookupRoleArn
5314
5320
  })
5315
5321
  });
5316
5322
  for (const [key, value] of Object.entries(bootstrap2?.tags || {})) {
package/stacks/build.js CHANGED
@@ -51,6 +51,7 @@ export async function load(input, shallow) {
51
51
  .then((x) => x.toString());
52
52
  const ast = babel.parse(contents, {
53
53
  sourceType: "module",
54
+ filename: "sst.config.ts",
54
55
  plugins: [ts],
55
56
  });
56
57
  babel.traverse(ast, {