Skip to content

Instantly share code, notes, and snippets.

@dmlayton
Last active May 28, 2020 15:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dmlayton/ec5b31022ccc87a9409f0832c260dff7 to your computer and use it in GitHub Desktop.
resource "aws_s3_bucket" "client_bucket" {
bucket = sha1(format("my_super_secret_key:%s", var.client.name))
region = var.client.region
acl = "private"
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "AES256"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment