-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvpc_endpoint.tf
29 lines (25 loc) · 931 Bytes
/
vpc_endpoint.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
resource "aws_vpc_endpoint" "ecs_agent" {
vpc_id = aws_vpc.shared_vpc.id
service_name = "com.amazonaws.${var.aws_region}.ecs-agent"
vpc_endpoint_type = "Interface"
}
resource "aws_vpc_endpoint" "ecs_telemetry" {
vpc_id = aws_vpc.shared_vpc.id
service_name = "com.amazonaws.${var.aws_region}.ecs-telemetry"
vpc_endpoint_type = "Interface"
}
resource "aws_vpc_endpoint" "ecs" {
vpc_id = aws_vpc.shared_vpc.id
service_name = "com.amazonaws.${var.aws_region}.ecs"
vpc_endpoint_type = "Interface"
}
resource "aws_vpc_endpoint" "ecr_api" {
vpc_id = aws_vpc.shared_vpc.id
service_name = "com.amazonaws.${var.aws_region}.ecr.api"
vpc_endpoint_type = "Interface"
}
resource "aws_vpc_endpoint" "ecr_dkr" {
vpc_id = aws_vpc.shared_vpc.id
service_name = "com.amazonaws.${var.aws_region}.ecr.dkr"
vpc_endpoint_type = "Interface"
}