Changing the main S3 bucket name since it appears in URLs
This commit is contained in:
parent
377dfa5c81
commit
1b124f457c
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
resource "aws_s3_bucket" "s3_bucket" {
|
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" {
|
resource "aws_s3_bucket_ownership_controls" "s3_bucket" {
|
||||||
|
@ -34,7 +34,7 @@ resource "aws_iam_access_key" "s3" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_iam_user" "s3" {
|
resource "aws_iam_user" "s3" {
|
||||||
name = "mastodon-s3-${random_pet.name.id}"
|
name = "mastodon-s3-${local.domain_name}"
|
||||||
path = "/system/"
|
path = "/system/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue