Skip to content

Commit 6ef87ff

Browse files
committed
🧱 change IaC build directories
1 parent db56038 commit 6ef87ff

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎terraform/build/.gitkeep‎

Whitespace-only changes.

‎terraform/lambda.tf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Data source to create deployment package
22
data "archive_file" "calculator_lambda" {
33
type = "zip"
4-
output_path = "${path.module}/.terraform/calculator_lambda.zip"
4+
output_path = "${path.module}/build/calculator_lambda.zip"
55

66
source {
77
content = file("${path.module}/../lambda/calculator_handler.py")
@@ -86,7 +86,7 @@ resource "aws_cloudwatch_log_group" "calculator" {
8686
# Data source for API Lambda package
8787
data "archive_file" "api_lambda" {
8888
type = "zip"
89-
output_path = "${path.module}/.terraform/api_lambda.zip"
89+
output_path = "${path.module}/build/api_lambda.zip"
9090

9191
source {
9292
content = file("${path.module}/../lambda/api_handler.py")

0 commit comments

Comments
 (0)