-
Notifications
You must be signed in to change notification settings - Fork 0
/
aws_s3_object.tf
71 lines (64 loc) · 2.28 KB
/
aws_s3_object.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
66
67
68
69
70
71
resource "aws_s3_object" "images" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "images/"
}
resource "aws_s3_object" "logs" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "logs/"
}
resource "aws_s3_object" "rekognition" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "rekognition/"
}
resource "aws_s3_object" "rekognition_detect_faces" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "${aws_s3_object.rekognition.key}detect_faces/"
}
resource "aws_s3_object" "rekognition_detect_labels" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "${aws_s3_object.rekognition.key}detect_labels/"
}
resource "aws_s3_object" "rekognition_detect_moderation_labels" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "${aws_s3_object.rekognition.key}detect_moderation_labels/"
}
resource "aws_s3_object" "rekognition_detect_protective_equipment" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "${aws_s3_object.rekognition.key}detect_protective_equipment/"
}
resource "aws_s3_object" "rekognition_detect_text" {
acl = "private"
bucket = aws_s3_bucket.main.bucket
content_language = "en-US"
content_type = "application/x-directory"
force_destroy = true
key = "${aws_s3_object.rekognition.key}detect_text/"
}