diff --git a/mongo-hardening.pkr.hcl b/mongo-hardening.pkr.hcl index 2ad0ca9..9cb7de8 100644 --- a/mongo-hardening.pkr.hcl +++ b/mongo-hardening.pkr.hcl @@ -57,8 +57,8 @@ source "docker" "target" { # Run the process to harden the docker container build { - name = "harden" - sources = "source.docker.target" + name = "harden" + sources = ["source.docker.target"] # Create docker volumes provisioner "shell-local" { diff --git a/mongo-validate.pkr.hcl b/mongo-validate.pkr.hcl index 4b2c89c..484e245 100644 --- a/mongo-validate.pkr.hcl +++ b/mongo-validate.pkr.hcl @@ -57,7 +57,7 @@ source "docker" "hardened" { # Run validation process build { name = "validate" - sources = "source.docker.hardened" + sources = ["source.docker.hardened"] # docker ps provisioner "shell-local" {