locals.tf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# locals =====================================================================

locals {
  module_tags = {
    managed-by  = "terraform"
    module-name = "storage:s3-bucket"
  }

  allowed_storage_classes         = ["STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER_IR", "GLACIER", "DEEP_ARCHIVE"]
  allowed_object_ownership_values = ["BucketOwnerEnforced", "BucketOwnerPreferred", "ObjectWriter"]
}