You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VisibleError: Invalid component name "WebAssetsPolicy". Component names must be unique.
at file:///.../.sst/platform/src/auto/run.ts:39:13
at new Resource (/.../.sst/platform/node_modules/@pulumi/resource.ts:399:26)
at new CustomResource (/.../.sst/platform/node_modules/@pulumi/resource.ts:897:9)
at new BucketPolicy (/.../.sst/platform/node_modules/@pulumi/s3/bucketPolicy.ts:116:9)
at file:///.../.sst/platform/src/components/aws/bucket.ts:237:11
at /.../.sst/platform/node_modules/@pulumi/output.ts:398:31
at Generator.next (<anonymous>)
at /.../.sst/platform/node_modules/@pulumi/pulumi/output.js:21:71
at new Promise (<anonymous>)
at __awaiter (/.../.sst/platform/node_modules/@pulumi/pulumi/output.js:17:12)
Additionally you are only allowed one bucket policy and last write wins, so even if the names don't conflict there is an issue.
The text was updated successfully, but these errors were encountered:
In
ion/pkg/platform/src/components/aws/ssr-site.ts
Lines 506 to 508 in 955765a
it creates the bucket
${name}Assets
which then creates a policy internallyion/pkg/platform/src/components/aws/bucket.ts
Lines 279 to 280 in 955765a
which appends
Policy
, but then in SsrSite we also create a bucket policy with the the same suffixAssetsPolicy
ion/pkg/platform/src/components/aws/ssr-site.ts
Lines 514 to 515 in 955765a
Additionally you are only allowed one bucket policy and last write wins, so even if the names don't conflict there is an issue.
The text was updated successfully, but these errors were encountered: