rancher / terraform-provider-rancher2

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

rancher2_project_logging doesn't show up on UI #850

Closed martinhmuenster closed 2 months ago

martinhmuenster commented 2 years ago

rancher2 terraform provider, v1.21.0 Rancher running on Docker, v2.4.8 Terraform v0.13.7

Using the terraform configuration

resource "rancher2_project_logging" "kafka_example" {
  name = "Kafka"
  project_id = <project_id>
  kind = "kafka"
  kafka_config {
    topic = <kafka topic>
    broker_endpoints = <broker endpoints>
  }
}

, the apply is successful and Kafka logging is set up on my rancher instance (I can confirm that the brokers are receiving logs). However, on the Rancher project logging page (same project as configured in Terraform), the UI does not show the updated logging configuration.

I'm not sure if this issue exists for other types of logging besides Kafka, or whether it exists for cluster logging as well.

Expected result after successfully applying Kafka project logging: rancher_expected

Actual result after successfully applying Kafka project logging: rancher_actual

matttrach commented 2 months ago

This issue was created 2 years ago, but this appears to be an issue with a resource that is no longer supported. The version of Terraform is very old, and the version of Rancher and the provider are old as well. As such, I am going to close this issue as stale, but feel free to open a new one if this is still a valid issue on newer versions of Rancher and the provider.