File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ spring:
2929 static : ap-northeast-2
3030 stack :
3131 auto : false
32+ s3 :
33+ bucket : team2-app-s3-bucket-haedok2025
3234
3335springdoc :
3436 swagger-ui :
Original file line number Diff line number Diff line change @@ -223,6 +223,8 @@ resource "aws_s3_bucket_public_access_block" "app_bucket_pab" {
223223resource "aws_s3_bucket_policy" "app_bucket_policy" {
224224 bucket = aws_s3_bucket. app_bucket . id
225225
226+ depends_on = [aws_s3_bucket_public_access_block . app_bucket_pab ]
227+
226228 policy = jsonencode ({
227229 Version = " 2012-10-17"
228230 Statement = [
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ variable "app_1_domain" {
2222
2323variable "s3_bucket_name" {
2424 description = " S3 bucket name for file storage"
25- default = " app-s3-bucket"
25+ default = " app-s3-bucket-haedok2025 "
2626}
2727
2828variable "s3_public_read" {
You can’t perform that action at this time.
0 commit comments