```hcl
data "aws_caller_identity" "current" {}

resource "aws_elastic_beanstalk_application" "main" {
  name = "${var.app_name}"
}

resource "aws_s3_bucket" "main" {
  bucket = "discourse-sourcebundles-${data.aws_caller_identity.current.account_id}"

  tags = "${var.tags}"
}
```

Enable default encryption on one more S3 bucket
user
```hcl
data "aws_caller_identity" "current" {}

resource "aws_elastic_beanstalk_application" "main" {
  name = "${var.app_name}"
}

resource "aws_s3_bucket" "main" {
  bucket = "discourse-sourcebundles-${data.aws_caller_identity.current.account_id}"

  server_side_encryption_configuration {
    rule {
      apply_server_side_encryption_by_default {
        sse_algorithm = "AES256"
      }
    }
  }

  tags = "${var.tags}"
}
```
assistant