Using cockroach_log_export_config, I encounter errors when specifying DEV and TELEMETRY channels.
│ Error: Error enabling log export
│
│ with module.cockroachdb_dedicated.cockroach_log_export_config.example[0],
│ on ../../metric_log_export.tf line 82, in resource "cockroach_log_export_config" "example":
│ 82: resource "cockroach_log_export_config" "example" {
│
│ Could not enable log export: invalid argument: invalid field
│ ClusterSpec: log channel 'DEV' is unknown
│ Error: Error enabling log export
│
│ with module.cockroachdb_dedicated.cockroach_log_export_config.export[0],
│ on ../../metric_log_export.tf line 82, in resource "cockroach_log_export_config" "export":
│ 82: resource "cockroach_log_export_config" "export" {
│
│ Could not enable log export: invalid argument: invalid
│ field ClusterSpec: log channel 'TELEMETRY' is unknown
I am able to create the cockroach_log_export_config resource after removing these channels. I don't understand why this is the case, official documentation mentions that this is a supported channel name.
Using
cockroach_log_export_config
, I encounter errors when specifyingDEV
andTELEMETRY
channels.I am able to create the
cockroach_log_export_config
resource after removing these channels. I don't understand why this is the case, official documentation mentions that this is a supported channel name.Code
Terraform versions