Terraform module

The MediaWiki Terraform module provides a convenient way to deploy and manage the MediaWiki charm using Terraform. This module abstracts away the underlying Terraform configuration and allows users to easily integrate the MediaWiki charm with other services and applications in their deployment by using the Terraform Juju provider.

Inputs

Name

Description

Type

Default

app_name

Name of the application in the Juju model.

string

"mediawiki-k8s"

channel

The channel to use when deploying a charm.

string

"1.46/stable"

config

Application config. See charm configurations.

map(string)

{}

constraints

Juju constraints to apply for this application.

string

""

model_uuid

Reference to an existing model resource or data source for the model to deploy to.

string

""

revision

Revision number of the charm.

number

null

resources

Map of resources used by the application.

map(string)

{}

storage_directives

Map of storage used by the application.

map(string)

{}

units

Number of units to deploy.

number

1

Outputs

Name

Description

application

An object representing the deployed application.

provides

Map of the provides endpoints. See relation endpoints.

requires

Map of the requires endpoints. See relation endpoints.