Skip to content

Commit

Permalink
output_options field: add description
Browse files Browse the repository at this point in the history
  • Loading branch information
dloebl committed Mar 10, 2024
1 parent b520bbd commit 51e5688
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/resources/logpush_job.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ resource "cloudflare_logpush_job" "example_job" {
- `max_upload_interval_seconds` (Number) The maximum interval in seconds for log batches. Value must be between 30 and 300.
- `max_upload_records` (Number) The maximum number of log lines per batch. Value must be between 1000 and 1,000,000.
- `name` (String) The name of the logpush job to create.
- `output_options` (Block List, Max: 1) (see [below for nested schema](#nestedblock--output_options))
- `output_options` (Block List, Max: 1) Structured replacement for logpull_options. When including this field, the logpull_option field will be ignored. (see [below for nested schema](#nestedblock--output_options))
- `ownership_challenge` (String) Ownership challenge token to prove destination ownership, required when destination is Amazon S3, Google Cloud Storage, Microsoft Azure or Sumo Logic. See [Developer documentation](https://developers.cloudflare.com/logs/logpush/logpush-configuration-api/understanding-logpush-api/#usage).
- `zone_id` (String) The zone identifier to target for the resource. Must provide only one of `account_id`, `zone_id`.

Expand Down
7 changes: 4 additions & 3 deletions internal/sdkv2provider/schema_cloudflare_logpush_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,10 @@ func resourceCloudflareLogpushJobSchema() map[string]*schema.Schema {
Description: fmt.Sprint("The maximum interval in seconds for log batches. Value must be between 30 and 300."),
},
"output_options": {
Type: schema.TypeList,
MaxItems: 1,
Optional: true,
Type: schema.TypeList,
MaxItems: 1,
Optional: true,
Description: "Structured replacement for logpull_options. When including this field, the logpull_option field will be ignored",
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"cve20214428": {
Expand Down

0 comments on commit 51e5688

Please sign in to comment.