Created
July 21, 2020 03:39
-
-
Save oshea00/e5095906ffb36b0f7c20fcc12f44b8d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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