Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions infracost-usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ resource_usage:
aws_lambda_function.hello_world:
monthly_requests: 100000000 # Monthly requests to the Lambda function.
request_duration_ms: 250 # Try changing this to 100 (milliseconds) to compare costs
aws_s3_bucket.files:
object_tags: 10000000 # Total object tags. Only for AWS provider V3.
standard:
storage_gb: 10000 # Total storage in GB.
monthly_tier_1_requests: 1000000 # Monthly PUT, COPY, POST, LIST requests (Tier 1).
monthly_tier_2_requests: 100000 # Monthly GET, SELECT, and all other requests (Tier 2).
monthly_select_data_scanned_gb: 10000 # Monthly data scanned by S3 Select in GB.
monthly_select_data_returned_gb: 1000 # Monthly data returned by S3 Select in GB.
4 changes: 4 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ resource "aws_lambda_function" "hello_world" {
runtime = "nodejs12.x"
memory_size = 1024 # <<<<< Try changing this to 512 to compare costs
}

resource "aws_s3_bucket" "files" {
bucket = "demo_files"
}