From 8f5f08e54ef3ab56db362302bd748faa468c4f86 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Wed, 10 Jun 2020 15:47:38 +0300 Subject: [PATCH] Added dependency for aws_s3_bucket_object, fixes #15 --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index af047164..cece522b 100644 --- a/main.tf +++ b/main.tf @@ -96,6 +96,8 @@ resource "aws_s3_bucket_object" "lambda_package" { storage_class = var.s3_object_storage_class tags = merge(var.tags, var.s3_object_tags) + + depends_on = [null_resource.archive] } resource "aws_lambda_provisioned_concurrency_config" "current_version" {