Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created March 28, 2019 03:43
Show Gist options
  • Select an option

  • Save 100daysofdevops/90ef40940389f2d58b64f256074cee51 to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/90ef40940389f2d58b64f256074cee51 to your computer and use it in GitHub Desktop.
resource "aws_vpc_endpoint" "s3" {
vpc_id = "${var.vpc_id}"
service_name = "com.amazonaws.us-west-2.s3"
policy = <<POLICY
{
"Statement": [
{
"Action": "*",
"Effect": "Allow",
"Resource": "*",
"Principal": "*"
}
]
}
POLICY
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment