rancher / terraform-provider-rancher2

Terraform Rancher2 provider
https://www.terraform.io/docs/providers/rancher2/
Mozilla Public License 2.0
260 stars 223 forks source link

Add support for management of cluster registration token resources #568

Open janeczku opened 3 years ago

janeczku commented 3 years ago

Feature: Terraform provider should support cluster registration token as a first-class resource.

Use Case: Today, cluster registration tokens can not be managed or explicitly created with the provider. Instead, when creating a cluster, a default cluster registration token is created automatically. This registration token never expires which may be unacceptable from a security point of view.

Depends on: The Rancher cluster registration token resource must be enhanced to support a parameter for TTL/expiry.

rawmind0 commented 3 years ago

Hi @janeczku , I think this feature is not supported at Rancher. The feature should be first included to Rancher API. Could you please open an issue at rancher/rancher repo??