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

Support hujson for ACL files #37

Merged
merged 1 commit into from
Aug 30, 2021
Merged

Support hujson for ACL files #37

merged 1 commit into from
Aug 30, 2021

Commits on Aug 30, 2021

  1. Support hujson for ACL files

    This commit swaps all uses of `encoding/json` with `tailscale/hujson`. This allows users of the provider
    to have a hujson file locally that contains all the features such as comments and trailing commas.
    
    When the ACL is pushed to tailscale via the provider, the comments will be lost when encoding/decoding
    is done into the `ACL` type. However, the source of truth for the ACL will be local along with the terraform
    configuration files, so this should not be a problem.
    
    Closes #17
    
    Signed-off-by: David Bond <[email protected]>
    davidsbond committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    2d47c65 View commit details
    Browse the repository at this point in the history