Skip to content
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

Image wait timeout #20 #42

Merged
merged 2 commits into from
Apr 2, 2019
Merged

Image wait timeout #20 #42

merged 2 commits into from
Apr 2, 2019

Conversation

marinsalinas
Copy link
Contributor

Closes #20

To add wait_timeout to the image creation:

provider "nutanix" {
  wait_timeout = 40 //in minutes
}

Another options is adding the following environment variable.

export NUTANIX_WAIT_TIMEOUT=50
terraform init
...

@@ -36,13 +37,14 @@ func (c *Config) Client() (*Client, error) {
return nil, err
}
client := &Client{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rename this variable? I think this is confusing as it has more use cases apart from a client.

A better name would be ctx (note: not suggesting context because we don't want to obfuscate the built-in context package)

@marinsalinas marinsalinas merged commit e847ddf into master Apr 2, 2019
@marinsalinas marinsalinas deleted the image-wait-timeout-#20 branch April 2, 2019 21:17
yannickstruyf3 pushed a commit to yannickstruyf3/terraform-provider-nutanix that referenced this pull request Nov 9, 2021
Add instructions for building project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants