Skip to content

Commit

Permalink
fix: TF dependencies (again) (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
baolsen authored Feb 10, 2023
1 parent 4146f1a commit 6a379b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ module "billing_notifier_lambda" {
runtime = var.runtime
timeout = 300

# Where should we get the package from?
create_package = false
local_existing_package = local.deployment_path

local_existing_package = var.s3_bucket == null ? local.deployment_path : null
s3_existing_package = (
var.s3_bucket != null
? {
var.s3_bucket == null
? null
: {
bucket = var.s3_bucket
key = local.s3_key
}
: null
)

cloudwatch_logs_retention_in_days = var.cloudwatch_logs_retention_in_days
Expand Down

0 comments on commit 6a379b8

Please sign in to comment.