sst 2.22.4 → 2.22.5

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.
@@ -174,24 +174,10 @@ export class Function extends CDKFunction {
174
174
  const bootstrap = await useBootstrap();
175
175
  this.attachPermissions([
176
176
  new PolicyStatement({
177
- actions: ["iot:Connect", "iot:DescribeEndpoint"],
177
+ actions: ["iot:*"],
178
178
  effect: Effect.ALLOW,
179
179
  resources: ["*"],
180
180
  }),
181
- new PolicyStatement({
182
- actions: ["iot:Receive", "iot:Publish"],
183
- effect: Effect.ALLOW,
184
- resources: [
185
- `arn:aws:iot:${stack.region}:${stack.account}:topic/sst/*`,
186
- ],
187
- }),
188
- new PolicyStatement({
189
- actions: ["iot:Subscribe"],
190
- effect: Effect.ALLOW,
191
- resources: [
192
- `arn:aws:iot:${stack.region}:${stack.account}:topicfilter/sst/*`,
193
- ],
194
- }),
195
181
  new PolicyStatement({
196
182
  actions: ["s3:*"],
197
183
  effect: Effect.ALLOW,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.22.4",
4
+ "version": "2.22.5",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },