Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 5.46 KB

File metadata and controls

58 lines (47 loc) · 5.46 KB

Requirements

Name Version
terraform >= 0.13
aws >= 3.42.0, < 4.0, >= 4.9.0

Providers

Name Version
aws >= 3.42.0, < 4.0, >= 4.9.0

Modules

No modules.

Resources

Name Type
aws_cloudwatch_metric_stream.metric-stream resource
aws_iam_role.firehose_to_s3 resource
aws_iam_role.metric_stream_to_firehose resource
aws_iam_role_policy.firehose_to_s3 resource
aws_iam_role_policy.metric_stream_to_firehose resource
aws_kinesis_firehose_delivery_stream.metrics resource
aws_s3_bucket.metric_stream resource

Inputs

Name Description Type Default Required
honeycomb_api_host If you use a Secure Tenancy or other proxy, put its schema://host[:port] here. string "https://api.honeycomb.io" no
honeycomb_api_key Your Honeycomb team's API key. string n/a yes
honeycomb_dataset_name Your Honeycomb dataset name. string n/a yes
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
name A name for this CloudWatch Metric Stream. string n/a yes
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
output_format Output format of metrics. You should probably not modify this value; the default format is supported, but others may not be. string "opentelemetry0.7" 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_force_destroy By default, AWS will decline to delete S3 buckets that are not empty:
BucketNotEmpty: The bucket you tried to delete is not empty. These buckets
are used for backup if delivery or processing fail.
#
To allow this module's resources to be removed, we've set force_destroy =
true, allowing non-empty buckets to be deleted. If you want to block this and
preserve those failed deliveries, you can set this value to false, though that
will leave terraform unable to cleanly destroy the module.
bool true no
tags A map of tags to apply to resources created by this module. map(string) {} no

Outputs

Name Description
cloudwatch_metric_stream_arn n/a
cloudwatch_metric_stream_name n/a
s3_bucket n/a