main.tf 626 B

1234567891011121314151617181920212223242526
  1. # -------------
  2. # S3 Bucket
  3. # -------------
  4. resource "aws_s3_bucket" "bucket" {
  5. bucket = "nuxeo-${var.cust_id}"
  6. acl = "private"
  7. tags {
  8. Name = "nuxeo-${var.cust_id}"
  9. billing-category = "customers"
  10. billing-subcategory = "${var.stack_name}"
  11. role = "nuxeo.aws-s3"
  12. }
  13. }
  14. resource "aws_s3_bucket" "bucket_backup" {
  15. bucket = "nuxeo-backup-${var.cust_id}"
  16. acl = "private"
  17. tags {
  18. Name = "nuxeo-backup-${var.cust_id}"
  19. billing-category = "customers"
  20. billing-subcategory = "${var.stack_name}"
  21. role = "nuxeo.aws-s3"
  22. }
  23. }