-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
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
azurerm_virtual_machine_run_command timeout bug #27428
Comments
@vangork interesting have you tried with version 4.2.0? |
@Chambras I've checked the code, there is no change between 4.2.0 and 3.116.0 for Shall we allow a wider range for |
Hi @vangork , there is a blog might help, for now the
|
@teowa Thanks for the info. Even if |
Is there an existing issue for this?
Community Note
Terraform Version
1.7.5
AzureRM Provider Version
3.116.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_machine_run_command
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
My vm has a "pfmp installation" job which would last around 2 - 2.5 hours being set in the
custom_data
. I wanna leverage managed run command of "cloud-init status --wait" to check if the job is done and move forward. As per https://learn.microsoft.com/en-us/azure/virtual-machines/linux/run-command-managed, managed run command should support for long running (hours/days) scripts.Actual Behaviour
But the managed run command would timeout after 90 minutes even the create timeout value has been set to 180m.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: