Skip to content

PaloAltoNetworks/terraform-modules-swfw-tests-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test skeleton with Terratest for Terraform modules for VM-Series on AWS, Azure, GCP

Description

Test skeleton with Terratest in Go used to execute integration and e2e tests for Software Firewall modules:

Usage

Terratest can be used to check whole examples and single modules. Below there are few samples of usage:

In order to execute tests, go to folder with sample and use command:

go test -v -timeout 30m -count=1 ./...

For tests with example there is possibility to run only plan (using above command) or to deploy whole example using command:

DO_APPLY=true go test -v -timeout 30m -count=1 ./...

Some of the tests are quick (e.g. checking plan erros), so then there is no need to change default timeout (10 minutes) and below command can be used:

go test -v -count=1 ./...

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Test skeleton with Terratest for VM-Series modules

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages