You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this issue we will take a look. As a temporary workaround you can use the breakpoint provisioner to pause provisioners. You can find an example below:
source"null""example" {
communicator="none"
}
build {
sources=["source.null.example"]
provisioner"shell-local" {
inline=["echo hi"]
}
provisioner"breakpoint" {
disable=falsenote="this is a breakpoint"
}
provisioner"shell-local" {
inline=["echo hi 2"]
}
}
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Overview of the Issue
In the past, the
-debug
used to pause between provisioners and now it executes all the provisioners without any pause.Reproduction Steps
Add multiple provisioners and run packer in debug mode
packer build -debug template.hcl
Packer version
packer 1.78
The text was updated successfully, but these errors were encountered: