Skip to content

Commit 70eeb2e

Browse files
committed
update resoruce on s3_key and s3_object_version to aws_s3_object. from aws_s3_bucket_object
1 parent 6bfb5ca commit 70eeb2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws_lambda_function.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ resource "aws_lambda_function" "lambda" {
55
provider = aws.cloudfront
66
# Find the file from S3
77
s3_bucket = data.aws_s3_bucket.artifact_bucket.id
8-
s3_key = aws_s3_bucket_object.artifact.id
9-
s3_object_version = aws_s3_bucket_object.artifact.version_id
8+
s3_key = aws_s3_object.artifact.id
9+
s3_object_version = aws_s3_object.artifact.version_id
1010

1111
publish = true
1212
handler = var.lambda_handler

0 commit comments

Comments
 (0)