Skip to content

Instantly share code, notes, and snippets.

@oshea00
Created July 21, 2020 03:39
Show Gist options
  • Save oshea00/e5095906ffb36b0f7c20fcc12f44b8d4 to your computer and use it in GitHub Desktop.
Save oshea00/e5095906ffb36b0f7c20fcc12f44b8d4 to your computer and use it in GitHub Desktop.
provider "aws" {
region = "us-west-2"
}
data "aws_canonical_user_id" "current_user" {}
resource "aws_s3_bucket" "deployment_bucket" {
bucket = "limpidfox-lambdas-dev"
acl = "private"
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "AES256"
}
}
}
versioning {
enabled = true
}
tags = {
Name = "Lambda zip packages"
Environment = "dev"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment