diff --git a/cloudflare/resource_cloudflare_logpush_job.go b/cloudflare/resource_cloudflare_logpush_job.go index b434c946ec..c2ac9887b7 100644 --- a/cloudflare/resource_cloudflare_logpush_job.go +++ b/cloudflare/resource_cloudflare_logpush_job.go @@ -38,7 +38,7 @@ func resourceCloudflareLogpushJob() *schema.Resource { "dataset": { Type: schema.TypeString, Required: true, - ValidateFunc: validation.StringInSlice([]string{"http_requests", "spectrum_events"}, false), + ValidateFunc: validation.StringInSlice([]string{"firewall_events", "http_requests", "spectrum_events"}, false), }, "logpull_options": { Type: schema.TypeString, diff --git a/website/docs/r/logpush_job.html.markdown b/website/docs/r/logpush_job.html.markdown index 043e34c242..fc90269fe4 100644 --- a/website/docs/r/logpush_job.html.markdown +++ b/website/docs/r/logpush_job.html.markdown @@ -33,6 +33,6 @@ The following arguments are supported: * `zone_id` - (Required) The zone ID where the logpush job should be created. * `destination_conf` - (Required) Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included. See [Logpush destination documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#destination). * `ownership_challenge` - (Required) Ownership challenge token to prove destination ownership. See [Developer documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#usage). -* `dataset` - (Required) Which type of dataset resource to use. Available values are `"http_requests"` or `"spectrum_events"`. +* `dataset` - (Required) Which type of dataset resource to use. Available values are `"firewall_events"`, `"http_requests"`, and `"spectrum_events"`. * `logpull_options` - (Optional) Configuration string for the Logshare API. It specifies things like requested fields and timestamp formats. See [Logpull options documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#options). * `enable` - (Optional) Whether to enable to job to create or not.