Skip to content

Flaconi/terraform-cloudflare-logpush-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-module-template

Template for Terraform modules

License

For requirements regarding module structure: style-guide-terraform.md

Providers

Name Version
cloudflare 4.52.0

Requirements

Name Version
terraform ~> 1.3
cloudflare 4.52.0

Required Inputs

The following input variables are required:

Description: The Cloudflare API token.

Type: string

Description: The name of the job to create

Type: string

Description: Cloudflare domain to fetch the zone id

Type: string

Description: Configuration string for requested fields and timestamp formats

Type: string

Description: Uniquely identifies a resource (such as an s3 bucket) where data will be pushed

Type: string

Description: Challenge to confirm ownership of the destination

Type: string

Optional Inputs

The following input variables are optional (have default values):

Description: The kind of the dataset

Type: string

Default: "http_requests"

Description: Whether to enable the job

Type: bool

Default: true

Description: Filter to include/exclude events

Type: map(any)

Default: {}

Description: Frequency of logs being pushed

Type: string

Default: "high"

Description: The kind of job to create

Type: string

Default: ""

Description: The maximum uncompressed file size of a batch of logs

Type: number

Default: 5000000

Description: The maximum interval in seconds for log batches

Type: number

Default: 30

Description: The maximum number of log lines per batch.

Type: number

Default: 1000

Outputs

Name Description
logpush_job_id The id of the created logpush job

License

MIT License

Copyright (c) 2023 Flaconi GmbH