Skip to content

Commit b5c4d74

Browse files
committed
chmod
1 parent cd5587a commit b5c4d74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

terraform/redis_sync_lambda.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ resource "null_resource" "chmod_package_lambda" {
2828

2929
resource "null_resource" "package_lambda" {
3030
provisioner "local-exec" {
31-
command = "${path.module}/package_lambda.sh ${local.redis_sync_dir}"
31+
command = "chmod +x ${path.module}/package_lambda.sh && ${path.module}/package_lambda.sh ${local.redis_sync_dir}"
3232
}
3333
depends_on = [null_resource.chmod_package_lambda]
3434
triggers = {

0 commit comments

Comments
 (0)