|
@@ -9,7 +9,7 @@ resource "aws_s3_bucket" "bucket" {
|
|
|
Name = "nuxeo-${var.cust_id}"
|
|
|
billing-category = "customers"
|
|
|
billing-subcategory = "${var.stack_name}"
|
|
|
- role = "nuxeo.aws-s3"
|
|
|
+ role = "nuxeo.bucket.binstore"
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -21,6 +21,18 @@ resource "aws_s3_bucket" "bucket_backup" {
|
|
|
Name = "nuxeo-backup-${var.cust_id}"
|
|
|
billing-category = "customers"
|
|
|
billing-subcategory = "${var.stack_name}"
|
|
|
- role = "nuxeo.aws-s3"
|
|
|
+ role = "nuxeo.bucket.backup"
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+resource "aws_s3_bucket" "bucket_logs" {
|
|
|
+ bucket = "nuxeo-logs-${var.cust_id}"
|
|
|
+ acl = "private"
|
|
|
+
|
|
|
+ tags {
|
|
|
+ Name = "nuxeo-logs-${var.cust_id}"
|
|
|
+ billing-category = "customers"
|
|
|
+ billing-subcategory = "${var.stack_name}"
|
|
|
+ role = "nuxeo.bucket.logs"
|
|
|
}
|
|
|
}
|