Difference between revisions of "Terraform resource: aws s3 bucket logging"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
  [[aws_s3_bucket_server_side_encryption_configuration]]
+
  resource "aws_s3_bucket_logging" "example" {
[[Logging options for Amazon S3]]
+
  bucket = aws_s3_bucket.example.id
 +
 +
  target_bucket = aws_s3_bucket.log_bucket.id
 +
  target_prefix = "log/"
 +
}
 +
 
 +
== Related ==
 +
* [[aws_s3_bucket_server_side_encryption_configuration]]
 +
* [[Logging options for Amazon S3]]
  
 
== See also ==
 
== See also ==

Revision as of 03:55, 17 June 2024

Advertising: