Skip to content

Commit 233b26f

Browse files
committed
redis_sync_lambda.tf II
1 parent a4a36a8 commit 233b26f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terraform/redis_sync_lambda.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ resource "aws_ecr_repository" "redis_sync_lambda_repository" {
2020
module "redis_sync_docker_image" {
2121
source = "terraform-aws-modules/lambda/aws//modules/docker-build"
2222
version = "8.0.1"
23-
23+
docker_file_path = "./redis_sync/Dockerfile"
2424
create_ecr_repo = false
2525
ecr_repo = aws_ecr_repository.redis_sync_lambda_repository.name
2626
ecr_repo_lifecycle_policy = jsonencode({
@@ -42,7 +42,7 @@ module "redis_sync_docker_image" {
4242

4343
platform = "linux/amd64"
4444
use_image_tag = false
45-
source_path = local.redis_sync_lambda_dir
45+
source_path = abspath("${path.root}/..")
4646
triggers = {
4747
dir_sha = local.redis_sync_lambda_dir_sha
4848
}

0 commit comments

Comments
 (0)