Skip to content

CORS configuration per bucket #425

@joshua9519

Description

@joshua9519

TL;DR

We have a setup where we use this module directly and use it to create a large number of buckets but we need to have CORS configurations that differ for some buckets. I think the improvement would be to have the CORS configuration be a map to allow it to be on a per-bucket basis.

Terraform Resources

Detailed design

bucket_cors = {
  "bucket-1" = [
    {
      origin          = "*"
      method          = "PUT"
    }
  ]
}

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions