-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.tf
65 lines (55 loc) · 1.91 KB
/
routes.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
resource "aws_api_gateway_resource" "v1" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_rest_api.tile.root_resource_id
path_part = "v1"
}
resource "aws_api_gateway_resource" "tileset_path" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.v1.id
path_part = "tileset"
}
resource "aws_api_gateway_resource" "tileset" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.tileset_path.id
path_part = "{tileset}"
}
resource "aws_api_gateway_resource" "version" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.tileset.id
path_part = "{version}"
}
resource "aws_api_gateway_resource" "z" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.version.id
path_part = "{z}"
}
resource "aws_api_gateway_resource" "x" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.z.id
path_part = "{x}"
}
resource "aws_api_gateway_resource" "y" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.x.id
path_part = "{y}"
}
resource "aws_api_gateway_resource" "tilefile_path" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.v1.id
path_part = "tilefile"
}
resource "aws_api_gateway_resource" "tilefile" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.tilefile_path.id
path_part = "{tilefile}"
}
resource "aws_api_gateway_resource" "tilefile_version" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.tilefile.id
path_part = "{version}"
}
resource "aws_api_gateway_resource" "filekey" {
rest_api_id = aws_api_gateway_rest_api.tile.id
parent_id = aws_api_gateway_resource.tilefile_version.id
path_part = "{filekey}"
}