Skip to content

Instantly share code, notes, and snippets.

@dmacvicar
Created March 11, 2016 22:05
Show Gist options
  • Save dmacvicar/f97d86d857fa86b06e19 to your computer and use it in GitHub Desktop.
Save dmacvicar/f97d86d857fa86b06e19 to your computer and use it in GitHub Desktop.
terra
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
var configVolDettached = fmt.Sprintf(`
resource "libvirt_domain" "acceptance-test-domain" {
name = "terraform-test"
}`)
resource.TestStep{
Config: configVolDettached,
Check: resource.ComposeTestCheckFunc(
testAccCheckLibvirtDomainExists("libvirt_domain.acceptance-test-domain", &domain),
testAccCheckLibvirtVolumeDoesNotExists("libvirt_volume.acceptance-test-volume", &volume),
),
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment