List of model configuration keys

Configuration > Model configuration > List of model configuration keys

See also: Model, How to configure a model

agent-metadata-url

URL of private stream.

Type: string

agent-stream

Version of Juju to use for deploy/upgrades.

Type: string

agent-version

Note: This value is set by Juju.

The desired Juju agent version to use.

Type: string

Note: This value cannot be changed after model creation.

apt-ftp-proxy

The APT FTP proxy for the model.

Type: string

apt-http-proxy

The APT HTTP proxy for the model.

Type: string

apt-https-proxy

The APT HTTPS proxy for the model.

Type: string

apt-mirror

The APT mirror for the model.

Type: string

apt-no-proxy

List of domain addresses not to be proxied for APT (comma-separated).

Type: string

authorized-keys

Any authorized SSH public keys for the model, as found in a ~/.ssh/authorized_keys file.

Type: string

automatically-retry-hooks

Determines whether the uniter should automatically retry failed hooks.

Type: bool

backup-dir

Directory used to store the backup working directory.

Type: string

charmhub-url

The url for CharmHub API calls.

Type: string

cloudinit-userdata

Cloud-init user-data (in yaml format) to be added to userdata for new machines created in this model.

Type: string

container-image-metadata-url

The URL at which the metadata used to locate container OS image ids is located.

Type: string

container-image-stream

The simplestreams stream used to identify which image ids to search when starting a container.

Type: string

container-inherit-properties

List of properties to be copied from the host machine to new containers created in this model (comma-separated).

Type: string

container-networking-method

Method of container networking setup - one of fan, provider, local.

Type: string

default-base

The default base image to use for deploying charms, will act like --base when deploying charms.

Type: string

default-space

The default network space used for application endpoints in this model.

Type: string

development

Whether the model is in development mode.

Type: bool

disable-network-management

Whether the provider should control networks (on MAAS models, set to true for MAAS to control networks.

Type: bool

disable-telemetry

Disable telemetry reporting of model information.

Type: bool

egress-subnets

Source address(es) for traffic originating from this model.

Type: string

enable-os-refresh-update

Whether newly provisioned instances should run their respective OS’s update capability.

Type: bool

enable-os-upgrade

Whether newly provisioned instances should run their respective OS’s upgrade capability.

Type: bool

extra-info

Arbitrary user specified string data that is stored against the model.

Type: string

fan-config

Configuration for fan networking for this model.

Type: string

firewall-mode

The mode to use for network firewalling.

‘instance’ requests the use of an individual firewall per instance.

‘global’ uses a single firewall for all instances (access for a network port is enabled to one instance if any instance requires that port).

‘none’ requests that no firewalling should be performed inside the model. It’s useful for clouds without support for either global or per instance security groups.

Type: string

Valid values: instance, global, none

Note: This value cannot be changed after model creation.

ftp-proxy

The FTP proxy value to configure on instances, in the FTP_PROXY environment variable.

Type: string

http-proxy

The HTTP proxy value to configure on instances, in the HTTP_PROXY environment variable.

Type: string

https-proxy

The HTTPS proxy value to configure on instances, in the HTTPS_PROXY environment variable.

Type: string

ignore-machine-addresses

Whether the machine worker should discover machine addresses on startup.

Type: bool

image-metadata-url

The URL at which the metadata used to locate OS image ids is located.

Type: string

image-stream

The simplestreams stream used to identify which image ids to search when starting an instance.

Type: string

juju-ftp-proxy

The FTP proxy value to pass to charms in the JUJU_CHARM_FTP_PROXY environment variable.

Type: string

juju-http-proxy

The HTTP proxy value to pass to charms in the JUJU_CHARM_HTTP_PROXY environment variable.

Type: string

juju-https-proxy

The HTTPS proxy value to pass to charms in the JUJU_CHARM_HTTPS_PROXY environment variable.

Type: string

juju-no-proxy

List of domain addresses not to be proxied (comma-separated), may contain CIDRs. Passed to charms in the JUJU_CHARM_NO_PROXY environment variable.

Type: string

logforward-enabled

Whether syslog forwarding is enabled.

Type: bool

logging-config

The configuration string to use when configuring Juju agent logging (see http://godoc.org/github.com/juju/loggo#ParseConfigurationString for details).

Type: string

logging-output

The logging output destination: database and/or syslog. (default “”).

Type: string

lxd-snap-channel

The channel to use when installing LXD from a snap (cosmic and later).

Type: string

max-action-results-age

The maximum age for action entries before they are pruned, in human-readable time format.

Type: string

max-action-results-size

The maximum size for the action collection, in human-readable memory format.

Type: string

max-status-history-age

The maximum age for status history entries before they are pruned, in human-readable time format.

Type: string

max-status-history-size

The maximum size for the status history collection, in human-readable memory format.

Type: string

mode

Mode is a comma-separated list which sets the mode the model should run in. So far only one is implemented

  • If ‘requires-prompts’ is present, clients will ask for confirmation before removing potentially valuable resources. (default “”).

Type: string

name

The name of the current model.

Type: string

Note: This value cannot be changed after model creation.

net-bond-reconfigure-delay

The amount of time in seconds to sleep between ifdown and ifup when bridging.

Type: int

no-proxy

List of domain addresses not to be proxied (comma-separated).

Type: string

num-container-provision-workers

The number of container provisioning workers to use per machine.

Type: int

num-provision-workers

The number of provisioning workers to use per model.

Type: int

provisioner-harvest-mode

What to do with unknown machines (default destroyed).

Type: string

Valid values: all, none, unknown, destroyed

proxy-ssh

Whether SSH commands should be proxied through the API server.

Type: bool

resource-tags

resource tags.

Type: attrs

saas-ingress-allow

Application-offer ingress allowlist is a comma-separated list of CIDRs specifying what ingress can be applied to offers in this model.

Type: string

secret-backend

The name of the secret store backend. (default “auto”).

Type: string

snap-http-proxy

The HTTP proxy value to for installing snaps.

Type: string

snap-https-proxy

The HTTPS proxy value to for installing snaps.

Type: string

snap-store-assertions

The assertions for the defined snap store proxy.

Type: string

snap-store-proxy

The snap store proxy for installing snaps.

Type: string

snap-store-proxy-url

The URL for the defined snap store proxy.

Type: string

ssh-allow

SSH allowlist is a comma-separated list of CIDRs from which machines in this model will accept connections to the SSH service. Currently only the aws & openstack providers support ssh-allow.

Type: string

ssl-hostname-verification

Whether SSL hostname verification is enabled (default true).

Type: bool

storage-default-block-source

The default block storage source for the model.

Type: string

storage-default-filesystem-source

The default filesystem storage source for the model.

Type: string

syslog-ca-cert

The certificate of the CA that signed the syslog server certificate, in PEM format.

Type: string

syslog-client-cert

The syslog client certificate in PEM format.

Type: string

syslog-client-key

The syslog client key in PEM format.

Type: string

syslog-host

The hostname:port of the syslog server.

Type: string

test-mode

Whether the model is intended for testing. If true, accessing the charm store does not affect statistical data of the store. (default false).

Type: bool

transmit-vendor-metrics

Determines whether metrics declared by charms deployed into this model are sent for anonymized aggregate analytics.

Type: bool

type

Type of model, e.g. local, ec2.

Type: string

Note: This value cannot be changed after model creation.

update-status-hook-interval

How often to run the charm update-status hook, in human-readable time format (default 5m, range 1-60m).

Type: string

uuid

Note: This value is set by Juju.

The UUID of the model.

Type: string

Note: This value cannot be changed after model creation.