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" {
106
106
s3 = {
107
107
service = " s3"
108
108
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" }
113
112
},
114
113
dynamodb = {
115
114
service = " dynamodb"
@@ -210,6 +209,17 @@ data "aws_iam_policy_document" "generic_endpoint_policy" {
210
209
values = [module . vpc . vpc_id ]
211
210
}
212
211
}
212
+
213
+ statement {
214
+ effect = " Allow"
215
+ actions = [" *" ]
216
+ resources = [" *" ]
217
+
218
+ principals {
219
+ type = " *"
220
+ identifiers = [" *" ]
221
+ }
222
+ }
213
223
}
214
224
215
225
resource "aws_security_group" "rds" {
You can’t perform that action at this time.
0 commit comments