Page MenuHomePhabricator

[terraform] Add S3 bucket name suffix
ClosedPublic

Authored by bartek on Aug 3 2023, 2:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 3, 9:26 AM
Unknown Object (File)
Thu, Apr 3, 8:20 AM
Unknown Object (File)
Thu, Apr 3, 6:27 AM
Unknown Object (File)
Wed, Apr 2, 9:13 PM
Unknown Object (File)
Wed, Apr 2, 10:05 AM
Unknown Object (File)
Fri, Mar 21, 3:35 PM
Unknown Object (File)
Feb 23 2025, 1:50 AM
Unknown Object (File)
Feb 23 2025, 1:50 AM
Subscribers

Details

Summary

This stack resolves issues encountered when setting up fresh staging AWS account with Terraform.

Unfortunately, S3 bucket names are globally unique, so we can't have a separate bucket named commapp-blob in staging account.
This diff adds a configurable suffix to the bucket names and configures the suffix for staging environment only.

Details in ENG-4573.

Depends on D8713.

Test Plan

Terraform plan on all: dev, staging, prod. No changes on dev and prod.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable