tailscale / terraform-provider-tailscale

Terraform provider for Tailscale
https://registry.terraform.io/providers/tailscale/tailscale
MIT License
255 stars 46 forks source link

Does the provider support creating tags? #323

Closed abwelt closed 7 months ago

abwelt commented 7 months ago

Hello,

I am attempting to define a tagowners field in my acl but am met with a tf error stating that tagOwners is an unknown field. I'm not certain if it is in fact me doing something wrong or if this functionality is not written into the provider. In addition, perhaps I should be going about this another way? Hoping someone can shed some light on this for me.

Thanks

resource "tailscale_acl" "example_tags" { acl = jsonencode({ acls : [ { "tagOwners" : { "tag:exampletag": [], } }], }) }

abwelt commented 7 months ago

just dove the source code, realised the issue was me. This is supported.