Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(sfs): enable bucket versioning on SFS bucket (#1064)

Will Hutchinson9e0b480116c5
diff --git a/infra/stacks/static-file-service/static-file-service.ts b/infra/stacks/static-file-service/static-file-service.ts
index d7bf15a229..e3e4a6dda0 100644
--- a/infra/stacks/static-file-service/static-file-service.ts
+++ b/infra/stacks/static-file-service/static-file-service.ts
@@ -114,7 +114,10 @@ export class StaticFileService extends pulumi.ComponentResource {
const staticFilesBucket = new aws.s3.Bucket(STATIC_FILE_BUCKET, {
bucket: STATIC_FILE_BUCKET,
forceDestroy: stack !== 'prod',
-
+ versioning: {
+ enabled: true,
+ mfaDelete: false,
+ },
corsRules: [
{
allowedHeaders: ['*'],