Skip to content

Resource to manage network user sharing #3

@andyshinn

Description

@andyshinn

I know this is already on the roadmap. But I'm creating a formal issue for it (as I might link it to Bountysource). I'd love to be able to manage user sharing of a network.

I imagine it would look something like:

resource "zerotier_sharing" "andy" {
    user_id   = "3699dc81-18dc-401b-b976-976195d5e72d"
    network = "a84ac5c10a11067a"
    permissions {
       read          = true
       authorize     = false
       modify        = false
       delete        = false
    }
}

Alternatively, maybe a way to do multiple users under a resource:

resource "zerotier_sharing" "developers" {
    user_ids   = [
      "3699dc81-18dc-401b-b976-976195d5e72d",
      "...",
    ]
    network = "a84ac5c10a11067a"
    permissions {
       read          = true
       authorize     = false
       modify        = false
       delete        = false
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions