Skip to content

Commit 5b8a919

Browse files
committed
🐛 FIX: external logging example
1 parent e4a15f0 commit 5b8a919

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

examples/external-logging/main.tf

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,12 @@ module "tags" {
2626
}
2727

2828
module "bucket" {
29-
source = "rhythmictech/bucket/s3logging"
30-
version = "1.0.1"
31-
29+
source = "rhythmictech/s3logging-bucket/aws"
30+
version = "2.0.0"
3231
bucket_suffix = "tfstate-logging"
33-
region = local.region
3432
}
3533

3634
module "backend" {
37-
source = "../.."
38-
39-
logging_target_bucket = module.bucket.s3logging_bucket_name
40-
region = local.region
35+
source = "../.."
36+
logging_target_bucket = module.bucket.s3_bucket_name
4137
}

0 commit comments

Comments
 (0)