Skip to content

support the Group grantee types in scaleway_object_bucket_acl #3119

Open
@cramt

Description

@cramt

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

It would be great if the terraform provider supported all the grantee types mentioned in the api docs https://www.scaleway.com/en/docs/object-storage/api-cli/bucket-operations/#putbucketacl, perticularly for my use-case the "Group" grantee

New or Affected Resource(s)

  • scaleway_object_bucket_acl

Potential Terraform Configuration

resource "scaleway_object_bucket_acl" "main" {
  depends_on = [time_sleep.wait_for_policy_to_apply]
  bucket     = scaleway_object_bucket.main.id
  access_control_policy {
    grant {
      grantee {
        id   = scaleway_account_project.main.id
        type = "CanonicalUser"
      }
      permission = "FULL_CONTROL"
    }

    grant {
      grantee {
        id   = "http://acs.amazonaws.com/groups/global/AllUsers"
        type = "Group"
      }
      permission = "READ"
    }

    owner {
      id = scaleway_account_project.main.id
    }
  }
}

Metadata

Metadata

Labels

enhancementobjectObject storage issues, bugs and feature requestspriority:highNew features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions