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

Add default timeout for snapshot create #536

Merged

Conversation

optik-aper
Copy link
Member

@optik-aper optik-aper commented Nov 27, 2024

Description

Add a default timeout on the create for snapshot resources. This allows using a timeouts block to set a custom value, ie:

resource "vultr_snapshot" "sn" {
  instance_id = resource.vultr_instance.inst.id
  description = "terraform timeout test"

  timeouts {
    create = "60m"
  }
}

This will also increase the default from 20 minutes to 30 minutes without need for customization.

Related Issues

Resolves #509

Checklist:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you linted your code locally prior to submission?
  • Have you successfully ran tests with your changes locally?

@optik-aper optik-aper merged commit 1a2693c into vultr:master Dec 2, 2024
3 checks passed
@optik-aper optik-aper mentioned this pull request Dec 6, 2024
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.

[BUG] - vultr_snapshot elapsed default set to 20min and failed by context deadline exceeded
2 participants