-
Notifications
You must be signed in to change notification settings - Fork 0
/
s3.tf
38 lines (33 loc) · 851 Bytes
/
s3.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
resource "aws_s3_bucket" "documents" {
bucket_prefix = "${format("%s-documents-", var.name)}"
acl = "private"
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "aws:kms"
}
}
}
}
resource "aws_s3_bucket" "models" {
bucket_prefix = "${format("%s-models-", var.name)}"
acl = "private"
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "aws:kms"
}
}
}
}
resource "aws_s3_bucket" "sdfdocuments" {
bucket_prefix = "${format("%s-sdfdocuments-", var.name)}"
acl = "private"
server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
sse_algorithm = "aws:kms"
}
}
}
}