Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 4.75 KB

File metadata and controls

57 lines (46 loc) · 4.75 KB

Requirements

Name Version
terraform ~> 1.0
aws >= 4.9.0

Providers

Name Version
aws >= 4.9.0

Modules

Name Source Version
kfh ../kinesis-firehose n/a

Resources

Name Type
aws_cloudwatch_metric_stream.metric-stream resource
aws_iam_role.this resource
aws_iam_role_policy.this resource
aws_iam_policy_document.assume_role data source
aws_iam_policy_document.this data source

Inputs

Name Description Type Default Required
http_buffering_interval Kinesis Firehose http buffer interval, in seconds. number 60 no
http_buffering_size Kinesis Firehose http buffer size, in MiB. number 15 no
enable_lambda_transform Enable a Lambda transform on the Kinesis Firehose to preprocess and structure the metrics bool false no
lambda_transform_arn If enable_lambda_transform is set to true, specify a valid arn string "" no
name A unique name for this CloudWatch Metric Stream. string "uptrace-cloudwatch-metrics" no
namespace_exclude_filters An optional list of CloudWatch Metric namespaces to exclude. If set, we'll only stream metrics that are not in these namespaces. Mutually exclusive with namespace_include_filters. list(string) [] no
namespace_include_filters An optional list of CloudWatch Metric namespaces to include. If set, we'll only stream metrics from these namespaces. Mutually exclusive with namespace_exclude_filters. list(string) [] no
s3_backup_mode Should we only backup to S3 data that failed delivery, or all data? string "FailedDataOnly" no
s3_buffer_interval In seconds. See https://docs.aws.amazon.com/firehose/latest/dev/create-configure.html number 400 no
s3_buffer_size In MiB. See https://docs.aws.amazon.com/firehose/latest/dev/create-configure.html number 10 no
s3_compression_format May be GZIP, Snappy, Zip, or Hadoop-Compatiable Snappy. See https://docs.aws.amazon.com/firehose/latest/dev/create-configure.html string "GZIP" no
s3_failure_bucket_arn ARN of the S3 bucket that will store any logs that failed to be sent to Uptrace. string n/a yes
tags A map of tags to apply to resources created by this module. map(string) {} no
uptrace_api_host If you use a Secure Tenancy or other proxy, put its schema://host[:port] here. string "https://api.uptrace.dev" no
uptrace_dsn Your Uptrace DSN. string n/a yes

Outputs

Name Description
cloudwatch_metric_stream_arn n/a
cloudwatch_metric_stream_name n/a