xxxxxxxxxx
module "s3-bucket_example_notification" {
source = "terraform-aws-modules/s3-bucket/aws//examples/notification"
version = "1.15.0"
}
xxxxxxxxxx
terraform {
backend "s3" {
bucket = "mybucket"
key = "path/to/my/key"
region = "us-west-2"
# Optional, allows state locking & consistency checking
dynamodb_table = "mytable"
}
}