This message was deleted.
# terraform-provider-rancher2
a
This message was deleted.
f
Try disabling your TF from doing a lifecycle on your apply.
Also if you do modify the config thru TF and suddenly cannot modify cluster settings in the UI see if the machine config selector got replaced with NULL
b
@few-park-83463 you mean just apply specific resource with -target key?
f
in the main.tf for your rancher cluster module add the following after your EOF.
Copy code
}
  lifecycle {
    ignore_changes = [
      rke_config[0].chart_values,
      local_auth_endpoint[0].enabled,
      cloud_credential_secret_name
    ]
  }
b
@few-park-83463 thank you let me try. It should be in a file related to cluster config itself right, or file where resources is specified ex like rancher_2? because I don't have main.tf