terraform-provider-rancher2
terraform-provider-rancher2 copied to clipboard
[RFE] Create an `rancher2_etcd_restore` that allows restoring an RKE1 downstream cluster's backup created using `rancher2_etcd_backup`
Is your feature request related to a problem? Please describe.
Following the bug filed here for rancher2_etcd_backup
not properly populating the Kubernetes version, there is no resource block to restore an etcd snapshot using this method. You have to manually restore a snapshot within Rancher.
RKE2/K3S do not have this issue as they have resource blocks to both create a snapshot and restore the snapshot. I would expect this same workflow in RKE1, but as of now it does not exist.
Describe the solution you'd like
There should be a resource block that allows for restoring an etcd backup that you created using the rancher2_etcd_backup
resource block. An example could be rancher2_etcd_restore
or whatever is more appropriate for restoring RKE1 downstream cluster snapshots.