File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,9 @@ module "vpc_endpoints" {
106106 s3 = {
107107 service = " s3"
108108 private_dns_enabled = true
109- dns_options = {
110- private_dns_only_for_inbound_resolver_endpoint = false
111- }
112- tags = { Name = " s3-vpc-endpoint" }
109+ type = " Gateway"
110+ route_table_ids = flatten ([module . vpc . intra_route_table_ids , module . vpc . private_route_table_ids , module . vpc . public_route_table_ids ])
111+ tags = { Name = " s3-vpc-endpoint" }
113112 },
114113 dynamodb = {
115114 service = " dynamodb"
@@ -210,6 +209,17 @@ data "aws_iam_policy_document" "generic_endpoint_policy" {
210209 values = [module . vpc . vpc_id ]
211210 }
212211 }
212+
213+ statement {
214+ effect = " Allow"
215+ actions = [" *" ]
216+ resources = [" *" ]
217+
218+ principals {
219+ type = " *"
220+ identifiers = [" *" ]
221+ }
222+ }
213223}
214224
215225resource "aws_security_group" "rds" {
You can’t perform that action at this time.
0 commit comments