Skip to content

Commit

Permalink
reduce impact & add docs for pip issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ Steers committed Sep 8, 2020
1 parent c48c13f commit ef490ab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ module "data_lake" {
environment = module.env.environment
resource_tags = local.resource_tags

lambda_python_source = "${path.module}/lambda/fn_lambda_logger"
s3_triggers = {
"LambdaLogger1" = {
triggering_path = "*"
lambda_handler = "main.lambda_handler"
environment_vars = {}
environment_secrets = {}
}
}
# lambda_python_source = "${path.module}/lambda/fn_lambda_logger"
# s3_triggers = {
# "LambdaLogger1" = {
# triggering_path = "*"
# lambda_handler = "main.lambda_handler"
# environment_vars = {}
# environment_secrets = {}
# }
# }

/*
Expand Down
7 changes: 7 additions & 0 deletions samples/kitchen-sink-on-aws/30_lambda-python.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# NOTE: This module requires the python `pip` tool in order
# to package and deploy the lambda function code. If you have
# difficulty deploying this module, you can try modifying the
# optional 'pip_path' variable, or simply change the file
# extention to to '.tf.disabled' in order to disable just this
# module.

module "triggered_lambda" {
source = "../../components/aws/lambda-python"
name_prefix = local.name_prefix
Expand Down

0 comments on commit ef490ab

Please sign in to comment.