Closed matshch closed 9 months ago
We should also stop maintaining two clients and migrate the terraform provider to use https://pkg.go.dev/tailscale.com/client/tailscale
It's not just the comment at the top, I'd like it to also keep the comments within the file itself.
There is a feature that allows to block ACL edits from admin console by specifying special comment in the top of the ACL: https://tailscale.com/kb/1204/gitops-acls/#prevent-others-from-accidentally-modifying-your-tailnet-policy-file However, there is no way to pass such comment when using
Client
'sSetACL()
method, because it only acceptsACL
structure. Maybe it could be added viaSetACLOption
?After adding it here it would be nice to add the same feature in https://github.com/tailscale/terraform-provider-tailscale.