@awsless/awsless 0.0.156 → 0.0.157

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/dist/bin.js CHANGED
@@ -4430,9 +4430,11 @@ var Bucket = class extends Resource {
4430
4430
  "s3:GetObjectAttributes"
4431
4431
  ],
4432
4432
  resources: [
4433
- sub("arn:${AWS::Partition}:${service}:::${resourceName}", {
4434
- service: "s3",
4435
- resourceName: this.name
4433
+ sub("arn:${AWS::Partition}:s3:::${bucket}", {
4434
+ bucket: this.name
4435
+ }),
4436
+ sub("arn:${AWS::Partition}:s3:::${bucket}/*", {
4437
+ bucket: this.name
4436
4438
  })
4437
4439
  ]
4438
4440
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.156",
3
+ "version": "0.0.157",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -32,8 +32,8 @@
32
32
  "@awsless/redis": "^0.0.10",
33
33
  "@awsless/s3": "^0.0.8",
34
34
  "@awsless/sns": "^0.0.7",
35
- "@awsless/ssm": "^0.0.7",
36
35
  "@awsless/sqs": "^0.0.7",
36
+ "@awsless/ssm": "^0.0.7",
37
37
  "@awsless/validate": "^0.0.13",
38
38
  "@awsless/weak-cache": "^0.0.1"
39
39
  },