Skip to content

Commit

Permalink
fix: use relative path as lambda function local package path (#261)
Browse files Browse the repository at this point in the history
To avoid unintentional state changes when working in multiple environments.
  • Loading branch information
b6pzeusbc54tvhw5jgpyw8pwz2x6gs authored Jan 23, 2022
1 parent 11fde8c commit c064db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/proxy/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module "proxy_package" {
source = "milliHQ/download/npm"
version = "2.0.0"
version = "2.1.0"

module_name = "@millihq/terraform-next-proxy"
module_version = var.proxy_module_version
Expand All @@ -26,7 +26,7 @@ module "edge_proxy" {
role_permissions_boundary = var.lambda_role_permissions_boundary

create_package = false
local_existing_package = module.proxy_package.abs_path
local_existing_package = module.proxy_package.rel_path

cloudwatch_logs_retention_in_days = 30

Expand Down
4 changes: 2 additions & 2 deletions modules/statics-deploy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ data "aws_iam_policy_document" "access_sqs_queue" {

module "lambda_content" {
source = "milliHQ/download/npm"
version = "2.0.0"
version = "2.1.0"

module_name = "@millihq/terraform-next-deploy-trigger"
module_version = var.deploy_trigger_module_version
Expand All @@ -185,7 +185,7 @@ module "deploy_trigger" {
role_permissions_boundary = var.lambda_role_permissions_boundary

create_package = false
local_existing_package = module.lambda_content.abs_path
local_existing_package = module.lambda_content.rel_path

# Prevent running concurrently
reserved_concurrent_executions = 1
Expand Down

0 comments on commit c064db3

Please sign in to comment.