Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource to manage network user sharing #3

Open
andyshinn opened this issue Apr 5, 2018 · 0 comments
Open

Resource to manage network user sharing #3

andyshinn opened this issue Apr 5, 2018 · 0 comments

Comments

@andyshinn
Copy link

andyshinn commented Apr 5, 2018

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
    }
}
@andyshinn andyshinn changed the title Resource to manage network members Resource to manage network user sharing Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant