terraform-ibm-modules/terraform-ibm-mas

Use new test wrapper hooks to ensure prereq resource do not deploy when upgrade test is skipped

Opened this issue · 0 comments

The upgrade test added in #108 is configured in a way that even if the commit using SKIP UPGRADE TEST is used, the prereqs will still be deployed.

The test wrapper was recently updated with the ability to use hooks: https://pkg.go.dev/github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper@v1.35.1/testhelper#TestOptions

These could be used to ensure prereqs do no get deployed when upgrade test is skipped