From 1b124f457c1fb08eebb86f5cbe2bc149a8d987f9 Mon Sep 17 00:00:00 2001 From: Erik Stambaugh Date: Mon, 12 Feb 2024 19:50:15 -0800 Subject: [PATCH] Changing the main S3 bucket name since it appears in URLs --- terraform/s3.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/s3.tf b/terraform/s3.tf index b738422..385d39e 100644 --- a/terraform/s3.tf +++ b/terraform/s3.tf @@ -1,6 +1,6 @@ resource "aws_s3_bucket" "s3_bucket" { - bucket = "mastodon-${random_pet.name.id}" + bucket = "mastodon-${local.domain_name}" } resource "aws_s3_bucket_ownership_controls" "s3_bucket" { @@ -34,7 +34,7 @@ resource "aws_iam_access_key" "s3" { } resource "aws_iam_user" "s3" { - name = "mastodon-s3-${random_pet.name.id}" + name = "mastodon-s3-${local.domain_name}" path = "/system/" }