diff --git a/internal/install/_static/terraform_deployer_run.sh b/internal/install/_static/terraform_deployer_run.sh index c7e8db469e..3fa8ed7927 100644 --- a/internal/install/_static/terraform_deployer_run.sh +++ b/internal/install/_static/terraform_deployer_run.sh @@ -4,7 +4,9 @@ set -euo pipefail # Terraform code may rely on content from other files than .tf files (es json, zip, html, text), so we copy all the content over # See more: https://github.com/elastic/elastic-package/pull/603 -cp -r /stage/* /workspace +# NOTE: must copy hidden files too (supported by "/.") +# See more: https://github.com/elastic/package-spec/issues/269 +cp -r /stage/. /workspace cleanup() { r=$?