Skip to content

Commit 0f882be

Browse files
authored
Merge pull request #32 from dwhswenson/use-bash-not-sh
Use bash, not sh, for local-exec interpreter
2 parents fbf775e + e019b33 commit 0f882be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/lambda-image-build/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ resource "null_resource" "build_and_push" {
106106
}
107107

108108
provisioner "local-exec" {
109-
interpreter = ["/bin/sh", "-c"]
109+
interpreter = ["/bin/bash", "-c"]
110110
command = <<-EOC
111111
set -euo pipefail
112112
# Use an ephemeral Docker config to avoid host keychain credential helper conflicts.

modules/lambda-image-public/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resource "null_resource" "build_and_push" {
4646
}
4747

4848
provisioner "local-exec" {
49-
interpreter = ["/bin/sh", "-c"]
49+
interpreter = ["/bin/bash", "-c"]
5050
command = <<-EOC
5151
set -euo pipefail
5252
# Use an ephemeral Docker config to avoid host keychain credential helper conflicts.

modules/lambda-image-republish/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ resource "null_resource" "republish_image" {
9191
}
9292

9393
provisioner "local-exec" {
94-
interpreter = ["/bin/sh", "-c"]
94+
interpreter = ["/bin/bash", "-c"]
9595
command = <<-EOC
9696
set -euo pipefail
9797
# Use an ephemeral Docker config to avoid host keychain credential helper conflicts.

0 commit comments

Comments
 (0)