Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. resource "aws_vpc_endpoint" "s3" {
  2. vpc_id = "${var.vpc_id}"
  3. service_name = "com.amazonaws.us-west-2.s3"
  4. route_table_ids = ["${var.route_table}"]
  5. policy = <<POLICY
  6. {
  7. "Statement": [
  8. {
  9. "Action": "*",
  10. "Effect": "Allow",
  11. "Resource": "*",
  12. "Principal": "*"
  13. }
  14. ]
  15. }
  16. POLICY
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement