-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete bucket, policy, ALB and role, try again
- Loading branch information
Miguel Elhaiek
committed
Apr 10, 2024
1 parent
c1dc3b8
commit f1e3b73
Showing
3 changed files
with
124 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# output "bucket_name" { | ||
# description = "The name of the S3 bucket for ALB logs" | ||
# value = aws_s3_bucket.logging_bucket.bucket | ||
# } | ||
output "bucket_name" { | ||
description = "The name of the S3 bucket for ALB logs" | ||
value = aws_s3_bucket.logging_bucket.bucket | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# variable "bucket_name" { | ||
# description = "The name of the bucket to be created for storing ALB logs." | ||
# type = string | ||
# default = "milvus-api-alb-logs" | ||
# } | ||
variable "bucket_name" { | ||
description = "The name of the bucket to be created for storing ALB logs." | ||
type = string | ||
default = "milvus-api-alb-logs" | ||
} | ||
|
||
|
||
# # Define other variables expected by the module here. For example: | ||
# Define other variables expected by the module here. For example: | ||
|
||
# variable "region" { | ||
# description = "The AWS region where logs will be stored." | ||
# type = string | ||
# default = "us-east-1" | ||
# } | ||
variable "region" { | ||
description = "The AWS region where logs will be stored." | ||
type = string | ||
default = "us-east-1" | ||
} | ||
|
||
# variable "alb_log_prefix" { | ||
# description = "The prefix for ALB log files." | ||
# type = string | ||
# default = "logs/AWSLogs/" | ||
# } | ||
variable "alb_log_prefix" { | ||
description = "The prefix for ALB log files." | ||
type = string | ||
default = "logs/AWSLogs/" | ||
} |