Closed js-max closed 4 years ago
Hi @js-max . Can you try including update
timeout too in your timeouts
block and check if you are still getting any error. Because internally, while creating instance, it goes to update method to check if there is any volume attachment or network interfaces that needs to be attached.
@VaishnaviGopal If this is the case about Update, the documentation needs to be clearer. Additionally the default timeout of 60m is far too long Gen2 VSIs. This needs to be reduced. It was reasonable for Classic and Gen1 Softlayer based VSIs, but is inappropriate for Gen2. The design point is a couple of minutes to create ten's of VSIs. 15 minutes to create hundreds.
Typically anything beyond a few minutes indicates that there is a provisioning issue and sadly I am starting to see more of these with Gen2. The default of 60m is very painful.
@VaishnaviGopal your suggestion will be to have:
timeouts {
create = "10m"
delete = "10m"
update = "10m"
}
??
Also, will that be available for all resources? For example ibm_is_volume
?
Hi @js-max , yes the timeout block needs to be written that way. And regarding the availabilty of timeout options for create, update and delete, you can refer to the documentation. We have updated the documentation. These doc changes will go into tomorrow's terraform-provider-ibm relsease.
@stevestrutt , We have modified the default timeout to 10m
for all the vpc resources. This change will also be seen in the tomorrow's release.
Update the IBM cloud docs..
I'm facing serveral timeouts with IBM Cloud platform, even UI/Web interface sometimes fail... It's not due to my laptop or/and connection because I'm testing
terraform apply
from multiple locations...So
timeouts
were my next step but it's not working...Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
Expected Behavior
Expected to see timeout/finished attempt to create resource
Actual Behavior
Going until reach 60 min
Steps to Reproduce
terraform apply