terraform-ibm-modules/terraform-ibm-mas

Add example for module

Opened this issue · 2 comments

In #56 the code was refactored so the root level code would contain a module, and the solutions folder would contain the DA (that just calls the module).

Whenever you have a module, you should have at least a basic example in the examples folder showing how the module can be used. And whenever you have an example, there should be a test for it. In this case, since we have tests for the DA itself, maybe add the test to other_test.go and have it run weekly in the DAF teams continuous test pipeline.

As agreed, we are keeping this issue in deferred state as we need to add the end-to-end test from deploying a Openshift cluster & then MAS DA example on top of it.

A basic example was added here however it needs to be extended to be a full end to end example that provisions the cluster and all prereqs. Since its a basic example it doesn't have to be a landing zone cluster, maybe just use the IBM provider directly to create a small scale OCP cluster