-
Notifications
You must be signed in to change notification settings - Fork 0
/
db_queues.tf
63 lines (51 loc) · 1.06 KB
/
db_queues.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
resource "aws_dynamodb_table" "concerts" {
name = "concerts"
hash_key = "id"
billing_mode = "PAY_PER_REQUEST"
attribute {
name = "id"
type = "S"
}
}
resource "aws_dynamodb_table" "tickets" {
name = "tickets"
hash_key = "id"
billing_mode = "PAY_PER_REQUEST"
attribute {
name = "id"
type = "S"
}
}
resource "aws_dynamodb_table" "tickets_svg" {
name = "tickets_svg"
hash_key = "id"
billing_mode = "PAY_PER_REQUEST"
attribute {
name = "id"
type = "S"
}
}
resource "aws_dynamodb_table" "users" {
name = "users"
hash_key = "id"
billing_mode = "PAY_PER_REQUEST"
attribute {
name = "id"
type = "S"
}
}
resource "aws_dynamodb_table" "concerts_svg" {
name = "concerts_svg"
hash_key = "id"
billing_mode = "PAY_PER_REQUEST"
attribute {
name = "id"
type = "S"
}
}
resource "aws_sqs_queue" "ticket_queue" {
name = "tickets"
}
resource "aws_sqs_queue" "concert_queue" {
name = "concerts"
}