Twingate / terraform-provider-twingate

Mozilla Public License 2.0
42 stars 11 forks source link

Allow Group lookup by name #539

Closed darkhonor closed 5 months ago

darkhonor commented 5 months ago

Currently the provider requires you to login to the Admin console or use the API (counter-intuitive for an IaC approach) and copy the ID string from the URL or API. Is it possible to add a Data Source to allow Groups to be matched via their display name rather than the obscure ID or was there an intentional gap in this capability?

darkhonor commented 5 months ago

Nevermind. I just see how you can use the data source twingate_groups for this purpose.

ekampf commented 5 months ago

Yep. datasource is the right way to go...