diff --git a/infracost-usage.yml b/infracost-usage.yml index 4bc9556..ee6059f 100644 --- a/infracost-usage.yml +++ b/infracost-usage.yml @@ -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. diff --git a/main.tf b/main.tf index f6f2a7b..31693a8 100644 --- a/main.tf +++ b/main.tf @@ -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" +}