Closed zchee closed 9 months ago
@twitchyliquid64 Use tailslace.com/tailcfg
directly. PTAL.
@twitchyliquid64 @creachadair gentle ping
@twitchyliquid64 @creachadair sorry, gentle ping again
Hey, quick question: are you doing this to get grants support in Terraform, or do you have a different use case for this client?
Longer term we'd like to avoid having to maintain a copy of the policy schema here, especially for beta features (like grants) that we might still want to make some backwards incompatible changes to. The alternative we discussed is supporting passing policy as a hujson blob to the API without re-serializing it. If your end goal is to use this in Terraform, would that be a viable alternative?
We have removed usage of local schema in the Terraform provider in https://github.com/tailscale/terraform-provider-tailscale/pull/332, and you should be able to use the Grants
field starting with v0.14.0 of the provider. If you are using this library directly, you can now pass the ACL as a HuJSON string to the SetACL
method.
Support https://tailscale.com/kb/1324/acl-grants.