siderolabs / terraform-provider-talos

Mozilla Public License 2.0
141 stars 18 forks source link

how to create a client config with a role ? #154

Open onlineque opened 8 months ago

onlineque commented 8 months ago

Hello, how to create the client configuration including the role, basically the same way as with this command:

talosctl -n <IP_address> config new vmtoolsd-secret.yaml --roles os:admin

from terraform-provider-talos, please ?

Thanks a lot !

camaeel commented 7 months ago

I think a new data resource should be implemented. This could also cover then refreshment of client credentials.