Skip to content

Commit

Permalink
Update tailscale/resource_acl.go
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Tolchanov <[email protected]>
  • Loading branch information
markwellis and knyar authored Feb 7, 2024
1 parent f0eabb8 commit 48ec32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tailscale/resource_acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func resourceACLCreate(ctx context.Context, d *schema.ResourceData, m interface{
// Setting the `ts-default` ETag will make this operation succeed only if
// ACL contents has never been changed from its default value.
var opts []tailscale.SetACLOption
if d.Get("allow_overwrite") != true {
if !d.Get("allow_overwrite").(bool) {
opts = append(opts, tailscale.WithETag("ts-default"))
}

Expand Down

0 comments on commit 48ec32f

Please sign in to comment.