Terraform OpenShift4 cloudscale.ch: A Commodore component to manage Terraform OpenShift4 cloudscale.ch

This component has been deprecated in favor of component openshift4-terraform. See the openshift4-terraform documentation for a migration how-to.

Terraform OpenShift4 cloudscale.ch: A Commodore component to manage Terraform OpenShift4 cloudscale.ch is a Commodore component for Managing Terraform OpenShift4 cloudscale.ch.

This is a proof of concept to generate Terraform setups via Commodore and isn’t considered production ready. This setup might change drastically or be removed alltogether.

GitLab CI Setup

A gitlab-ci.yml file gets rendered by this component to run Terraform in GitLab CI.

To enable the pipeline:

  1. Go to the project’s "Settings" → "CI/CD" → "General pipelines" and set the "Custom CI configuration path" to manifests/openshift4-cloudscale/gitlab-ci.yml

  2. Under "Variables" configure the variable CLOUDSCALE_TOKEN_RO with a cloudscale.ch read-only API token (not protected but masked)

  3. Configure the variable CLOUDSCALE_TOKEN_RW with a cloudscale.ch read-write API token (protected and masked)