You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new integration with Vagrant via modules folder. Some systems programming workflows cannot rely on Docker for local iteration. Having Vagrant supported as a first class package in terratest would help streamline these kinds of workflows.
Examples such as:
vagrant up
vagrant halt
vagrant ssh
vagrant down
Works with packer module in similar fashion to docker module
Example workflow:
package test
import (
"testing""github.com/gruntwork-io/terratest/modules/vagrant""github.com/gruntwork-io/terratest/modules/packer""github.com/stretchr/testify/assert"
)
funcTestPackerHelloWorldExample(t*testing.T) {
packerOptions:=&packer.Options{
Template: "../examples/packer-hello-world-example/build.pkr.hcl",
}
packer.BuildArtifact(t, packerOptions) // Build the Packer template which will create a Vagrant boxoutput:=vagrant.up(t, "gruntwork/packer-hello-world-example", opts) // Run Vagrant box
}
The text was updated successfully, but these errors were encountered:
Add new integration with Vagrant via modules folder. Some systems programming workflows cannot rely on Docker for local iteration. Having Vagrant supported as a first class package in terratest would help streamline these kinds of workflows.
Examples such as:
vagrant up
vagrant halt
vagrant ssh
vagrant down
packer
module in similar fashion todocker
moduleExample workflow:
The text was updated successfully, but these errors were encountered: