Skip to content

Commit

Permalink
chore: Delete lambda function
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo authored and vdmgolub committed Oct 18, 2022
1 parent 12a7323 commit 8535879
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions infracost-usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@ version: 0.1
resource_usage:
aws_instance.web_app:
operating_system: linux # Use this to override the operating system of the instance, can be: linux, windows, suse, rhel.
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
8 changes: 0 additions & 8 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,3 @@ resource "aws_instance" "web_app" {
iops = 800
}
}

resource "aws_lambda_function" "hello_world" {
function_name = "hello_world"
role = "arn:aws:lambda:us-east-1:account-id:resource-id"
handler = "exports.test"
runtime = "nodejs12.x"
memory_size = 1024 # <<<<< Try changing this to 512 to compare costs
}

0 comments on commit 8535879

Please sign in to comment.