Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "aws_vpc_endpoint" "s3" {
- vpc_id = "${var.vpc_id}"
- service_name = "com.amazonaws.us-west-2.s3"
- route_table_ids = ["${var.route_table}"]
- policy = <<POLICY
- {
- "Statement": [
- {
- "Action": "*",
- "Effect": "Allow",
- "Resource": "*",
- "Principal": "*"
- }
- ]
- }
- POLICY
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement