We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7daa536 commit 6b4200fCopy full SHA for 6b4200f
vpce.tf
@@ -16,6 +16,16 @@ resource "aws_vpc_endpoint" "secretsmanager" {
16
private_dns_enabled = true
17
}
18
19
+resource "aws_vpc_endpoint" "events" {
20
+ vpc_id = data.aws_vpc.vpc.id
21
+ service_name = "com.amazonaws.${var.region}.events"
22
+ vpc_endpoint_type = "Interface"
23
+ subnet_ids = [var.subnet_id]
24
+ security_group_ids = [aws_security_group.allow_vpce.id]
25
+ private_dns_enabled = true
26
+}
27
+
28
29
resource "aws_security_group" "allow_vpce" {
30
name = "allow_vpce"
31
description = "Allow access to the VPCE"
0 commit comments