Skip to content
Merged
Prev Previous commit
Next Next commit
add ephemeral storage example
  • Loading branch information
liortct committed Mar 26, 2022
commit 2647ec15e7cd98dc6d0e973934de934fcf297c1a
13 changes: 7 additions & 6 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ provider "aws" {
module "lambda_function" {
source = "../../"

function_name = "${random_pet.this.id}-lambda1"
description = "My awesome lambda function"
handler = "index.lambda_handler"
runtime = "python3.8"
architectures = ["x86_64"]
publish = true
function_name = "${random_pet.this.id}-lambda1"
description = "My awesome lambda function"
handler = "index.lambda_handler"
runtime = "python3.8"
ephemeral_storage_size = 10240
architectures = ["x86_64"]
publish = true

source_path = "${path.module}/../fixtures/python3.8-app1"

Expand Down
1 change: 0 additions & 1 deletion examples/ephemeral-stoage/.gitignore

This file was deleted.

71 changes: 0 additions & 71 deletions examples/ephemeral-stoage/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions examples/ephemeral-stoage/main.tf

This file was deleted.

99 changes: 0 additions & 99 deletions examples/ephemeral-stoage/outputs.tf

This file was deleted.

Empty file.
8 changes: 0 additions & 8 deletions examples/ephemeral-stoage/versions.tf

This file was deleted.