-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfracost-usage.yml
28 lines (24 loc) · 1.57 KB
/
infracost-usage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# You can use this file to define resource usage estimates for Infracost to use when calculating
# the cost of usage-based resource, such as AWS S3 or Lambda.
# `infracost breakdown --usage-file infracost-usage.yml [other flags]`
# See https://infracost.io/usage-file/ for docs
version: 0.1
resource_type_default_usage:
aws_lambda_function:
monthly_requests: 10000 # Monthly requests to the Lambda function.
request_duration_ms: 100 # Average duration of each request in milliseconds.
resource_usage:
aws_api_gateway_rest_api.default:
monthly_requests: 1000000 # Monthly requests to the Rest API Gateway.
aws_apigatewayv2_api.my_v2_api:
monthly_requests: 1000000 # Monthly requests to the HTTP API Gateway.
request_size_kb: 512 # Average request size sent to the HTTP API Gateway in KB. Requests are metered in 512KB increments, maximum size is 10MB.
monthly_messages: 1500000000 # Monthly number of messages sent to the Websocket API Gateway.
message_size_kb: 32 # Average size of the messages sent to the Websocket API Gateway in KB. Messages are metered in 32 KB increments, maximum size is 128KB.
monthly_connection_mins: 10000000 # Monthly total connection minutes to Websockets.
aws_cloudwatch_log_group.lambda:
storage_gb: 5 # Total data stored by CloudWatch logs in GB.
monthly_data_ingested_gb: 5 # Monthly data ingested by CloudWatch logs in GB.
monthly_data_scanned_gb: 5 # Monthly data scanned by CloudWatch logs insights in GB.
aws_s3_bucket_inventory.data_bucket:
monthly_listed_objects: 1000000 # Monthly number of listed objects.