We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ "variables": { "FirstProvisionTime": "", "RestOfProvisionTime": "" }, "provisioners": [ { "type": "windows-restart", "pause_before": "{{ user `FirstProvisionTime` }}", "restart_timeout": "{{ user `FirstProvisionTime` }}" }, { "type": "powershell", "pause_before": "{{ user `RestOfProvisionTime` }}", "script": "scripts/script.ps1", "elevated_user": "vagrant", "elevated_password": "vagrant" }, }
Error ui error: Failed to parse template: 1 error(s) occurred:
provisioner 2: 1 error(s) decoding:
error decoding 'pause_before': time: invalid duration {{ user FirstProvisionTime }}
FirstProvisionTime
provisioner 1: 1 error(s) decoding:
error decoding 'pause_before': time: invalid duration {{ user RestOfProvisionTime }}
RestOfProvisionTime
I'm getting error for pause_before value. restart_timeout value is passing successfully, Why I'm not able to pass user variables in pause_before.
The text was updated successfully, but these errors were encountered:
Duplicate of #5115
Sorry, something went wrong.
No branches or pull requests
Error
ui error: Failed to parse template: 1 error(s) occurred:
provisioner 2: 1 error(s) decoding:
error decoding 'pause_before': time: invalid duration {{ user
FirstProvisionTime
}}provisioner 1: 1 error(s) decoding:
error decoding 'pause_before': time: invalid duration {{ user
RestOfProvisionTime
}}provisioner 2: 1 error(s) decoding:
I'm getting error for pause_before value.
restart_timeout value is passing successfully, Why I'm not able to pass user variables in pause_before.
The text was updated successfully, but these errors were encountered: