We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c288798 commit 72d6c68Copy full SHA for 72d6c68
aws_lambda/aws_lambda.py
@@ -31,7 +31,8 @@ def deploy(src):
31
32
# Get the absolute path to the output directory and create it if it doesn't
33
# already exist.
34
- path_to_dist = os.path.join(src, 'dist')
+ dist_directory = cfg.get('dist_directory', 'dist')
35
+ path_to_dist = os.path.join(src, dist_directory)
36
mkdir(path_to_dist)
37
38
# Combine the name of the Lambda function with the current timestamp to use
aws_lambda/project_template/config.yaml
@@ -9,5 +9,6 @@ description: My first lambda function
9
aws_access_key_id:
10
aws_secret_access_key:
11
12
+# dist_directory: dist
13
# timeout: 15
14
# memory_size: 512
0 commit comments