Skip to content

Instantly share code, notes, and snippets.

@dmlayton
Last active May 28, 2020
Embed
What would you like to do?
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