|
Hello community, I have a HCL definition for a space bucket: resource "digitalocean_spaces_bucket" "bucket" {
name = "bucket-${random_uuid.bucket-identifier.result}"
region = "fra1"
lifecycle_rule {
id = random_uuid.bucket-lifecycle_rule-identifier.result
enabled = true
abort_incomplete_multipart_upload_days = 1
}
cors_rule {
allowed_headers = ["*"]
allowed_methods = ["GET", "PUT", "POST", "DELETE", "HEADER"]
allowed_origins = ["*"]
max_age_seconds = 3000
}
}About my problem: I have tried this successfully using these documentation: https://docs.digitalocean.com/products/spaces/how-to/configure-cors/#xml I would like to be able to configure this via Terraform as well. Do you have any idea how to do this? According to the digitalocean provider documentation, this is not supported. |
Replies: 3 comments 2 replies
|
Thanks for the write up! We are investigating internally and will respond as soon as we can. |
|
We believe we can support this by creating a I've created a ticket in our backlog and we'll prioritize it and implement it as soon as we can. If you need this support immediately, we also always welcome and deeply appreciate PRs if you'd like to take a crack at it yourself :) |
Addressed in this PR!