-
Notifications
You must be signed in to change notification settings - Fork 734
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.version/5Categorizes issue or PR as related to version 5 of the provider.Categorizes issue or PR as related to version 5 of the provider.
Description
Confirmation
- This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
- I have searched the issue tracker and my issue isn't already found.
- I have replicated my issue using the latest version of the provider and it is still present.
Terraform and Cloudflare provider version
Terraform v1.10.3
cloudflare/cloudflare v5.3.0
Affected resource(s)
- cloudflare_logpush_job
Terraform configuration files
resource "cloudflare_logpush_job" "kitchensink" {
name = "HTTP-requests-kitchensink"
zone_id = var.zone_id
kind = var.kind
dataset = "http_requests"
destination_conf = "https://${var.destination}?header_Authorization=Basic%20${var.auth_token}"
# Used only for "Core" logging (kind is null)
max_upload_interval_seconds = 30
max_upload_records = 1000
output_options = {
field_names = local.fields
timestamp_format = "unixnano"
sample_rate = var.sample
output_type = "ndjson"
record_prefix = "{"
record_suffix = "}\n"
field_delimiter = ","
}
enabled = var.enabled
}
Link to debug output
Shared in Cloudflare Support ticket
Panic output
No response
Expected output
Plan after apply should not propose changes
Actual output
module.observe_apps.cloudflare_logpush_job.kitchensink will be updated in-place
~ resource "cloudflare_logpush_job" "kitchensink" {
+ error_message = (known after apply)
id = 677037
- kind = "" -> null
~ last_complete = "2025-04-15T14:03:29Z" -> (known after apply)
+ last_error = (known after apply)
name = "HTTP-requests-kitchensink"
~ output_options = {
+ cve_2021_44228 = false
# (7 unchanged attributes hidden)
}
# (7 unchanged attributes hidden)
}
Steps to reproduce
- Provision a logpush job without a kind attribute
- Configure output_options
- Apply configuration
- terraform plan
Additional factoids
No response
References
No response
jmreicha, nitin342, aywrite, egarbi, edwardli-ui and 2 more
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.version/5Categorizes issue or PR as related to version 5 of the provider.Categorizes issue or PR as related to version 5 of the provider.