Uploading an example that will use Terraform to set up testing environments.
This metadata file also is the first one to feature 2 test cases for single sample.
Terraform would be used by copying the listed .tf files into a temporary directory, executing terraform init followed by terraform apply. Obviously, both need to be successful for the test to continue.
For cleanup, the system will revisit the temporary folder, run terraform refresh followed by terraform destroy. This will remove any resources that are still under Terrraform control. In case there needs to be some additional cleanup, additional commands will be executed before terraform destroy
Uploading an example that will use Terraform to set up testing environments.
This metadata file also is the first one to feature 2 test cases for single sample.
Terraform would be used by copying the listed
.tf
files into a temporary directory, executingterraform init
followed byterraform apply
. Obviously, both need to be successful for the test to continue.For cleanup, the system will revisit the temporary folder, run
terraform refresh
followed byterraform destroy
. This will remove any resources that are still under Terrraform control. In case there needs to be some additional cleanup, additional commands will be executed beforeterraform destroy