Skip to content

Topic-level standalone permission grants #161

@klevy-toast

Description

@klevy-toast

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

New or Affected Resource(s)

  • pulsar_permission_grant

Potential Terraform Configuration

resource "pulsar_permission_grant" "topic_admin" {
  topic   = "persistent://avengers/heroes/important-topic"
  role    = "topic-admin"
  actions = ["produce", "consume", "functions", "sources", "sinks", "packages"]
}

References

  • This is a feature extension of Add standalone pulsar_permission_grant resource for managing namespace permissions #157, allowing the resource to specify a topic instead of a namespace and implementing CRUD logic on the topic's permission grant.
  • It will operate identically to the namespace standalone permission grant and share the same resource.
  • It will add the same filtering logic to the topic resource to prevent the resources from overwriting permission that aren't managed by the resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions