Landscape Server charm Terraform module

The Landscape Server charm Terraform module is a reusable Terraform module for deploying the Landscape Server charm with Juju. Use it when you want to include Landscape Server as a component in a larger Terraform deployment.

The module is maintained in the landscape-server-operator repository. See the module source for its implementation, and How to deploy Landscape with Terraform and Juju for an example of deploying Landscape with Terraform.

Requirements

Name

Version

terraform

>= 1.10

juju

~> 1.0

Providers

Name

Version

juju

~> 1.0

Modules

No modules.

Resources

Inputs

Name

Description

Type

Default

Required

app_name

Name of the application in the Juju model.

string

"landscape-server"

no

base

The operating system on which to deploy.

string

"ubuntu@24.04"

no

channel

The channel to use when deploying a charm.

string

"26.04/stable"

no

charm_name

The name of the charm to be deployed.

string

"landscape-server"

no

config

Application config. Details about available options can be found at https://charmhub.io/landscape-server/configurations.

map(string)

{}

no

constraints

Juju constraints to apply for this application.

string

"arch=amd64"

no

machines

Set of machine IDs to deploy units to. When specified, the ‘units’ variable is ignored.

set(string)

null

no

model_uuid

UUID of a Juju model.

string

n/a

yes

revision

Revision number of the charm.

number

null

no

units

Number of units to deploy. Ignored when ‘machines’ is set.

number

1

no

Outputs

Name

Description

app_name

Name of the deployed application.

has_modern_haproxy_interface

Indicates whether the deployed revision uses haproxy-route relations (26.04+) rather than the legacy external HAProxy website endpoint.

provides

Map of integration endpoints this charm provides.

requires

Map of integration endpoints this charm requires.