We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd5587a commit b5c4d74Copy full SHA for b5c4d74
1 file changed
terraform/redis_sync_lambda.tf
@@ -28,7 +28,7 @@ resource "null_resource" "chmod_package_lambda" {
28
29
resource "null_resource" "package_lambda" {
30
provisioner "local-exec" {
31
- command = "${path.module}/package_lambda.sh ${local.redis_sync_dir}"
+command = "chmod +x ${path.module}/package_lambda.sh && ${path.module}/package_lambda.sh ${local.redis_sync_dir}"
32
}
33
depends_on = [null_resource.chmod_package_lambda]
34
triggers = {
0 commit comments