Skip to content

Commit

Permalink
Merge pull request #1 from bagel-dawg/loki-logging-bucket
Browse files Browse the repository at this point in the history
Logging bucket for Loki
  • Loading branch information
bagel-dawg authored Apr 5, 2023
2 parents ec715bc + c715a6f commit eb3ce4f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions terraform/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,18 @@ data "aws_iam_policy_document" "bageltech_io" {

}
}

resource "aws_s3_bucket" "bageltech_loki" {
bucket = "bageltech-loki"

tags = {
Name = "bageltech-loki"
Environment = var.environment
}
}

# Bucket for Loki monitoring
resource "aws_s3_bucket_acl" "bageltech_loki" {
bucket = aws_s3_bucket.bageltech_loki.id
acl = "private"
}

0 comments on commit eb3ce4f

Please # to comment.