Parameters

The parent key for all of the following parameters is openshift4_terraform.

provider

type

enum

required

Yes

values

cloudscale, exoscale

default

${facts:cloud}

This variable is used to select the Terraform module and a suitable default configuration for the specified cloud provider. The supported providers are:

gitlab_ci.tags

type

array

default

[]

The GitLab CI Runner tags to apply to the GitLab jobs.

gitlab_ci.git

type

dict

default

{}

Git user information for the CI pipeline. If not overridden, the default GitLab CI user information is used for commits made by the CI pipeline.

Valid keys for the dict are username and email. If present, these keys are configured as GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL for the CI pipeline respectively.

images.terraform.image

type

string

default

See class/defaults.yml

This is the image repository that’s used in the generated GitLab CI configuration for automated pipelines.

images.terraform.tag

type

string

default

See class/defaults.yml

This is the corresponding image tag for images.terraform.image

terraform_variables

type

object

default

see class/defaults.yml

Terraform input variables for the selected Terraform module (see parameter provider). They’re passed to the module without any further processing. The variables are merged with the defaults, unless overridden.

version

The git revision of the selected Terraform module. See the documentation for parameter provider for supported providers. By default, parameter provider is used to look up the version for the Terraform module in internal parameter _tf_module_version.

Example

See examples in the how-to pages: