We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0b86f commit 529085bCopy full SHA for 529085b
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## 0.0.7
4
+
5
+Added bash as command interpreter of local-exec.
6
7
## 0.0.6
8
9
Added escaping of local-exec command path to handle Windows paths.
main.tf
@@ -8,6 +8,7 @@ resource "null_resource" "docker_pullpush" {
shell_hash = sha256("${var.docker_source}${var.ecr_repo_name}${var.ecr_repo_tag}")
}
10
provisioner "local-exec" {
11
+ interpreter = ["bash", "-c"]
12
command = "${local.module_path}/docker_pullpush.sh ${var.docker_source} ${var.aws_region} ${var.aws_account_id} ${var.ecr_repo_name} ${var.ecr_repo_tag} ${var.aws_profile}"
13
14
0 commit comments