Inputs and outputs
The root module composes the modules under modules/: this is the page to read when you call source = "github.com/cosyte/terraform-azurerm-pathways". Each module has a page of its own as well.
This page is generated from the code in the repository root by scripts/docs.sh, and CI fails when it no longer matches. Change variables.tf or its outputs.tf, then run scripts/docs.sh.
Requirements
| Name | Version |
|---|---|
terraform | >= 1.11.0 |
azapi | >= 2.0.0, < 3.0.0 |
azurerm | >= 4.42.0, < 5.0.0 |
random | >= 3.7.0, < 4.0.0 |
Modules
| Name | Source |
|---|---|
identity | ./modules/identity |
logs | ./modules/logs |
database | ./modules/database |
key_vault | ./modules/key_vault |
container_apps | ./modules/container_apps |
storage | ./modules/storage |
alarms | ./modules/alarms |
Inputs
37 inputs, 4 of them required. The required ones come first, then the rest by name.
location
Required.
The Azure region, such as eastus2.
Type:
string
name
Required.
Short name every resource name is built from: 3 to 16 lowercase letters, digits and hyphens, starting with a letter. The Key Vault and the PostgreSQL server names are global in Azure, so pick one nobody else uses.
Type:
string
The plan refuses a value that breaks this rule, with this message:
- name must be 3 to 16 lowercase letters, digits and single hyphens, starting with a letter and not ending with a hyphen.
resource_group_name
Required.
The existing resource group everything is created in.
Type:
string
slots
Required.
The deployment slots, keyed by a slot name of 1 to 5 lowercase letters or digits (such as blue and green). Each slot gets its own Container Apps environment, app and migrate job, on its own infrastructure subnet, so the two slots can expose the same MLLP ports at once: TCP ports are unique across one environment. Each subnet must be delegated to Microsoft.App/environments and be at least a /27. The image must be pinned by digest (registry/repository:tag@sha256:...).
Type:
map(object({
image = string
infrastructure_subnet_id = string
}))
The plan refuses a value that breaks one of these rules, with its message:
- slots must name one slot, or two for blue and green.
- Each slot name must be 1 to 5 lowercase letters or digits, starting with a letter.
- Each slot's image must be pinned by digest: registry/repository:tag@sha256:<64 hex digits>.
- Each slot needs its own infrastructure subnet: one subnet holds one Container Apps environment.
alarms_action_group_id
Optional.
The resource id of the Azure Monitor action group the alerts call when they fire and when they resolve. Required when alarms_enabled is true. You create the action group and its receivers (email, SMS, a webhook, and so on).
Type:
string
Default: null
The plan refuses a value that breaks one of these rules, with its message:
- alarms_action_group_id must be the resource id of an action group, such as /subscriptions/<id>/resourceGroups/<group>/providers/Microsoft.Insights/actionGroups/<name>.
- alarms_enabled needs alarms_action_group_id: the alerts call an action group you create.
alarms_collector_image
Optional.
The metrics collector's image, pinned by digest: an OpenTelemetry collector with the prometheus receiver, the filter, metricstransform and cumulativetodelta processors and the azuremonitor exporter, such as the OpenTelemetry Collector Contrib image, otel/opentelemetry-collector-contrib:<version>@sha256:<digest>. Required when alarms_enabled is true. A tag alone is refused.
Type:
string
Default: null
The plan refuses a value that breaks one of these rules, with its message:
- alarms_collector_image must be pinned by digest: registry/repository:tag@sha256:<64 hex digits>.
- alarms_enabled needs alarms_collector_image, the collector's image pinned by digest.
alarms_enabled
Optional.
Whether to alert on the engine's own metrics (modules/alarms): an OpenTelemetry collector beside the engine in each replica reads /metrics on the health endpoint with a token the module generates, keeps five metrics with no channel or destination name, and sends them to a workspace-based Application Insights resource, and five Azure Monitor metric alerts call alarms_action_group_id. Your pathways.yaml needs a health block on alarms_health_port. Azure bills for the collector's vCPU and memory, the alert rules, the metrics' data in the workspace and the two Key Vault secrets' reads. Off by default: nothing is created and nothing is billed until you turn it on.
Type:
bool
Default: false
The plan refuses a value that breaks one of these rules, with its message:
- With alarms_enabled the module generates the health endpoint's token and gives it to the engine as PATHWAYS_HEALTH_TOKEN: leave it out of environment_variables and encryption_key_secrets.
- With alarms_enabled the module writes the Key Vault secrets pathways-health-token and pathways-metrics-connection-string: name no master key or database URL secret after them.
- With alarms_enabled, cpu must be 3.75 or less: the collector takes 0.25 vCPU, and an app on the Consumption profile gets 4 vCPU at most.
alarms_health_port
Optional.
The port of the engine's health endpoint, the health block of your pathways.yaml, which serves /metrics. The collector reads it at 127.0.0.1 inside the replica, so the block keeps its default host, 127.0.0.1, with plaintext: true; no ingress points at the port, and nothing outside the replica reaches it. Used when alarms_enabled is true.
Type:
number
Default: 9090
The plan refuses a value that breaks one of these rules, with its message:
- alarms_health_port must be a whole port from 1 to 65535.
- alarms_health_port needs a port of its own: not an MLLP port, the HTTP port or the probe port.
alarms_health_token_version
Optional.
Raise this by one to write a new health token: the module generates one and writes it to its Key Vault secret, and neither the plan nor the state ever holds it. The engine and the collector read it when a replica starts, so restart the app's revision after you raise it.
Type:
number
Default: 1
The plan refuses a value that breaks this rule, with this message:
- alarms_health_token_version must be a whole number, 1 or more.
alarms_oldest_pending_age_seconds
Optional.
The oldest pending age alert fires when the oldest delivery waiting on any destination has waited longer than this, in seconds, in every reading for 5 minutes.
Type:
number
Default: 600
The plan refuses a value that breaks this rule, with this message:
- alarms_oldest_pending_age_seconds must be 0 or more.
alarms_queue_depth_threshold
Optional.
The queue depth alert fires when the deliveries pending, over every destination, number more than this in every reading for 5 minutes.
Type:
number
Default: 1000
The plan refuses a value that breaks this rule, with this message:
- alarms_queue_depth_threshold must be a whole number, 0 or more.
alarms_refused_messages_threshold
Optional.
The refused messages alert fires when the bodies the sources refused (unreadable or rejected, all channels together) number more than this in 15 minutes. 0 fires on the first one.
Type:
number
Default: 0
The plan refuses a value that breaks this rule, with this message:
- alarms_refused_messages_threshold must be a whole number, 0 or more.
alarms_settled_failed_threshold
Optional.
The settled destinations failing alert fires when the messages that settled as failed with a destination (all channels and destinations together) number more than this in 15 minutes. 0 fires on the first one.
Type:
number
Default: 0
The plan refuses a value that breaks this rule, with this message:
- alarms_settled_failed_threshold must be a whole number, 0 or more.
alarms_store_down_minutes
Optional.
The store down alert fires when no reading of pathways_store_up was 1 for this many minutes: 1, 5, 15, 30 or 60, the windows Azure Monitor takes for a metric alert. Missing readings do not count: Azure does not fire a metric alert on missing data, so an engine or a collector that stopped reporting does not fire it.
Type:
number
Default: 5
The plan refuses a value that breaks this rule, with this message:
- alarms_store_down_minutes must be 1, 5, 15, 30 or 60: Azure Monitor takes a metric alert's window only from a fixed list.
app_start_args
Optional.
Arguments for the engine container. Null keeps the image's own command, pathways start -C /project, which applies the expand steps of a schema change itself; pass ["start", "-C", "/project", "--no-migrate"] to leave every schema change to the migrate job.
Type:
list(string)
Default: null
container_registry_server
Optional.
A private registry the images are pulled from with the module's managed identity, such as an Azure Container Registry login server. Grant that identity AcrPull. Null pulls anonymously, as from ghcr.io.
Type:
string
Default: null
cpu
Optional.
vCPU for the engine container. memory must be twice this many Gi.
Type:
number
Default: 1
drain_seconds
Optional.
The termination grace period: how long the engine gets to stop after SIGTERM before it is killed. On SIGTERM it turns /readyz to draining, closes its sources and gives each hook up to its timeout. 0 to 600, default 30, the platform's own default. Container Apps documents no maximum for this field, and its lifecycle page still says a container is killed 30 seconds after SIGTERM, so a value above 30 is not confirmed to be honored: test it in your environment before you rely on it.
Type:
number
Default: 30
The plan refuses a value that breaks this rule, with this message:
- drain_seconds must be a whole number of seconds from 0 to 600. 600 is this module's own bound: Container Apps documents none, and does not confirm a grace period above 30 seconds.
encryption_key_secrets
Optional.
The master keys, by environment variable name (such as PATHWAYS_KEY_2026_11) to the name of a secret you put in this module's Key Vault. The module never generates or reads a key: create each secret before the app's revision starts.
Type:
map(string)
Default: {}
The plan refuses a value that breaks one of these rules, with its message:
- Each key of encryption_key_secrets must be an environment variable name in capitals, digits and underscores.
- Each value of encryption_key_secrets must be a Key Vault secret name: 1 to 127 letters, digits and hyphens.
- The secret name database-url belongs to the module.
environment_variables
Optional.
Plain environment variables for the engine and the migrate job, such as the settings pathways.yaml reads with env. Never a secret: use encryption_key_secrets or a Key Vault secret.
Type:
map(string)
Default: {}
The plan refuses a value that breaks one of these rules, with its message:
- Each environment variable name must be letters, digits and underscores, not starting with a digit.
- PATHWAYS_DATABASE_URL is set by the module from Key Vault; do not pass it as a plain variable.
- AZURE_CLIENT_ID and PATHWAYS_DATABASE_AUTH are set by the module on the app and the migrate job (the identity's client id, and entra or password); do not pass them as plain variables.
existing_postgres
Optional.
A PostgreSQL server you already run, in place of the one the module makes. database_url_secret_name names a secret you put in this module's Key Vault yourself, holding the engine's database URL (the server must take TLS, and the app must reach it from its environment's subnet). The module makes no server, writes no database-url secret and never sees the URL, so it stays out of the Terraform state. Set postgres or existing_postgres, one of the two.
Type:
object({
database_url_secret_name = string
})
Default: null
The plan refuses a value that breaks one of these rules, with its message:
- Set postgres, for a server the module makes, or existing_postgres, for one you already run: one of the two.
- existing_postgres.database_url_secret_name must be a Key Vault secret name: 1 to 127 letters, digits and hyphens.
- existing_postgres.database_url_secret_name must not be the name of a master key's secret in encryption_key_secrets.
http_port
Optional.
The port the engine's HTTP source listens on, for an app whose only intake is HTTP. The app then gets HTTP ingress in place of TCP: Container Apps ends TLS on port 443 of the app's address and passes plain HTTP to this port inside the environment, and plain HTTP from outside is refused (allowInsecure is false). ingress_allowed_cidrs guards it as it guards MLLP. Null, the default, for MLLP over TCP ingress (mllp_ports).
Type:
number
Default: null
The plan refuses a value that breaks one of these rules, with its message:
- http_port must be a whole number from 1 to 65535, and not the reserved port 36985.
- http_port must not be probes_port: the probe listener is never exposed.
ingress_allowed_cidrs
Optional.
The address ranges allowed to reach the MLLP ports; every other address is denied. Each entry is a plain CIDR range: no spaces, a prefix length with no leading zero. Empty allows every address that can route to the environment, which is private to its virtual network, and is refused when internal_load_balancer_enabled is false. Unless unsafe_allow_mllp_from_any_address is true, it refuses an IPv4 range shorter than /8, an IPv6 range shorter than /32, an IPv4-mapped IPv6 range (::ffff:0:0/96) wider than an IPv4 /8 or holding the whole mapped range, and a list whose IPv4 ranges add up to every IPv4 address. Every other range is trusted as written.
Type:
list(string)
Default: []
The plan refuses a value that breaks one of these rules, with its message:
- Each entry of ingress_allowed_cidrs must be a plain CIDR range, such as 10.20.0.0/16 or 2001:db8::/48: no spaces, and a prefix length with no leading zero.
- ingress_allowed_cidrs must not hold a range wider than an IPv4 /8 or an IPv6 /32, nor an IPv4-mapped IPv6 range wider than an IPv4 /8 (0.0.0.0/0, ::/0, 0.0.0.0/1 and ::ffff:0:0/96 are all refused): MLLP has no authentication and carries PHI. Name your senders' ranges, or set unsafe_allow_mllp_from_any_address = true if you mean it.
- The ranges in ingress_allowed_cidrs add up to every IPv4 address: MLLP has no authentication and carries PHI. Name your senders' ranges, or set unsafe_allow_mllp_from_any_address = true if you mean it.
internal_load_balancer_enabled
Optional.
Give each environment a private address in its virtual network and no public address. Turn it off only when senders reach the engine over the internet, and then name them in ingress_allowed_cidrs: a public environment with no allowed ranges is refused.
Type:
bool
Default: true
The plan refuses a value that breaks this rule, with this message:
- internal_load_balancer_enabled = false gives the environment a public address, and MLLP has no authentication and carries PHI: name the senders' address ranges in ingress_allowed_cidrs.
key_vault
Optional.
Key Vault networking. The vault denies every network, and the apps and the machine that applies (Terraform writes the database-url secret) both need a way in, so one of two is required: a private endpoint (private_endpoint_subnet_id and private_dns_zone_id, a zone named privatelink.vaultcore.azure.net), which the apps use from the virtual network, or public_network_access_enabled with allowed_ip_ranges naming the runner and the environments' outbound addresses. Container Apps is not a trusted Azure service, so the AzureServices bypass does not let the apps in.
Type:
object({
public_network_access_enabled = optional(bool, false)
allowed_ip_ranges = optional(list(string), [])
private_endpoint_subnet_id = optional(string)
private_dns_zone_id = optional(string)
soft_delete_retention_days = optional(number, 90)
})
Default: {}
The plan refuses a value that breaks one of these rules, with its message:
- key_vault.private_endpoint_subnet_id and key_vault.private_dns_zone_id are set together or not at all.
- key_vault.soft_delete_retention_days must be from 7 to 90.
- key_vault.allowed_ip_ranges has no effect unless key_vault.public_network_access_enabled is true.
- Nothing could reach the Key Vault: the apps could not read their secrets and the apply could not write database-url. Set key_vault.private_endpoint_subnet_id and key_vault.private_dns_zone_id (recommended), or set key_vault.public_network_access_enabled = true with key_vault.allowed_ip_ranges naming the runner and the environments' outbound addresses.
log_retention_days
Optional.
How long the Log Analytics workspace keeps the engine's logs: 30 to 730 days.
Type:
number
Default: 90
The plan refuses a value that breaks this rule, with this message:
- log_retention_days must be a whole number from 30 to 730.
memory
Optional.
Memory for the engine container, such as 2Gi.
Type:
string
Default: "2Gi"
migrate_args
Optional.
Arguments for the migrate job's container.
Type:
list(string)
Default: ["migrate", "-C", "/project"]
migrate_timeout_seconds
Optional.
How long one run of the migrate job may take.
Type:
number
Default: 1800
The plan refuses a value that breaks this rule, with this message:
- migrate_timeout_seconds must be a whole number of at least 60.
mllp_ports
Optional.
The TCP ports the engine's MLLP sources listen on, each exposed on the same port number. The first is the app's main ingress port, the rest are additional port mappings: six at most (one plus five), never 80 or 443, never the reserved port 36985, never the probe port. Every exposed port, main or additional, is unique across the environment, and each slot has an environment of its own. Empty only with http_port set: the app takes either MLLP over TCP ingress or HTTP, not both.
Type:
list(number)
Default: []
The plan refuses a value that breaks one of these rules, with its message:
- mllp_ports must hold at most 6 ports: Container Apps exposes one main port and at most five additional TCP ports.
- Set mllp_ports or http_port, one of the two: the app's ingress is either TCP for MLLP or HTTP, not both and not neither.
- Each MLLP port must be a whole number from 1 to 65535.
- mllp_ports must not repeat a port: an exposed TCP port, main or additional, is unique across the environment.
- Port 36985 is reserved by Container Apps and cannot be exposed.
- Ports 80 and 443 belong to the environment's HTTP ingress and cannot be exposed as TCP ports.
- mllp_ports must not include probes_port: the probe listener is never exposed.
postgres
Optional.
The PostgreSQL flexible server. It has private access only: delegated_subnet_id is a subnet delegated to Microsoft.DBforPostgreSQL/flexibleServers, and private_dns_zone_id a private DNS zone ending in .postgres.database.azure.com linked to the virtual network. Microsoft Entra authentication is on and password authentication off: the engine and the migrate job sign in as the module's managed identity, which is made an Entra administrator of the server, so no password exists for the Terraform state to hold. entra_administrator, when set, makes that principal an Entra administrator too. administrator_password_version, with postgres_administrator_password, turns password authentication on beside Entra ID and the engine signs in with that password instead; Terraform writes it again only when the number changes. Null with existing_postgres, for a server you already run.
Type:
object({
delegated_subnet_id = string
private_dns_zone_id = string
version = optional(string, "16")
sku_name = optional(string, "GP_Standard_D2ds_v5")
storage_mb = optional(number, 32768)
backup_retention_days = optional(number, 35)
geo_redundant_backup_enabled = optional(bool, false)
zone = optional(string)
high_availability_standby_zone = optional(string)
entra_administrator = optional(object({
object_id = string
principal_name = string
principal_type = string
}))
administrator_password_version = optional(number)
})
Default: null
The plan refuses a value that breaks one of these rules, with its message:
- postgres.backup_retention_days must be from 7 to 35.
- postgres.private_dns_zone_id must be a private DNS zone whose name ends in .postgres.database.azure.com.
- postgres.entra_administrator.principal_type must be User, Group or ServicePrincipal.
- postgres.administrator_password_version must be a whole number, 1 or more: the password is written again only when it changes.
postgres_administrator_password
Optional.
The database password, for when you need one: the value of an ephemeral azurerm_key_vault_secret that reads it from a Key Vault you run. Set with postgres.administrator_password_version. It is ephemeral: it reaches the server and the database-url secret only through write-only arguments, so neither the plan nor the state holds it. Null, the default, keeps password authentication off.
Type:
string
Default: null
The plan refuses a value that breaks this rule, with this message:
- Set postgres_administrator_password and postgres.administrator_password_version together, or neither: the version turns password authentication on and the password is what it writes. With existing_postgres, the password is in the URL you put in the vault, so set neither.
probes_port
Optional.
The port of the engine's probe listener (the probes block of pathways.yaml, with host 0.0.0.0), which answers /livez and /readyz.
Type:
number
Default: 9091
The plan refuses a value that breaks this rule, with this message:
- probes_port must be a whole number from 1 to 65535, and not the reserved port 36985.
standby_replica
Optional.
Run a second replica of the app as the engine's warm standby. Both replicas start with --standby: the first to ask takes the engine lease and runs every channel, the other holds no lease, opens no listener and answers /readyz 503 standby, so the ingress sends it nothing, and takes over within about 20 seconds once the engine holding the lease stops. Only one engine works at a time: the lease, not the replica count, decides. Off by default: one replica.
Type:
bool
Default: false
storage
Optional.
An optional storage account for files partners send and fetch over SFTP, and for the engine's own blobs: off unless enabled is true. The modules/storage README says what each setting does. The account has hierarchical namespace and SFTP on, no public network access, a blob private endpoint (private_endpoint_subnet_id and private_dns_zone_id, a zone named privatelink.blob.core.windows.net, are required: the engine reads through it), its shared keys off, and, unless customer_managed_key_enabled is false, a key from this module's Key Vault. public_network_access_enabled with allowed_ip_ranges opens it to SFTP clients at named public IPv4 ranges. Each user in sftp_users signs in with an SSH key, never a password, and reaches only its own container, sftp-<user>. The engine's identity gets blob data access on each container, and the app gets AZURE_CLIENT_ID, PATHWAYS_AZBLOB_ACCOUNT, PATHWAYS_AZBLOB_CONTAINER and PATHWAYS_SFTP_<USER>_CONTAINER for its channels to read.
Type:
object({
enabled = optional(bool, false)
account_name = optional(string)
container_name = optional(string, "pathways")
replication_type = optional(string, "LRS")
sftp_enabled = optional(bool, true)
public_network_access_enabled = optional(bool, false)
allowed_ip_ranges = optional(list(string), [])
private_endpoint_subnet_id = optional(string)
private_dns_zone_id = optional(string)
customer_managed_key_enabled = optional(bool, true)
soft_delete_retention_days = optional(number, 7)
sftp_users = optional(map(object({
ssh_public_keys = list(string)
permissions = optional(list(string), ["create", "write", "list"])
})), {})
})
Default: {}
The plan refuses a value that breaks one of these rules, with its message:
- storage needs private_endpoint_subnet_id and private_dns_zone_id (the privatelink.blob.core.windows.net zone): the engine reads the account through its private endpoint, since Azure Storage's IP rules do not apply to traffic from the same region.
- storage.account_name must be 3 to 24 lowercase letters and digits.
- storage.container_name must be 3 to 63 lowercase letters, digits and single hyphens, starting and ending with a letter or digit, and must not start with sftp-: each SFTP user's container is sftp-<user>.
- storage.replication_type must be LRS, ZRS, GRS, RAGRS, GZRS or RAGZRS.
- storage.sftp_users needs storage.sftp_enabled = true: a local user can sign in only over SFTP.
- storage.public_network_access_enabled = true needs storage.allowed_ip_ranges naming the SFTP clients' public addresses: the account carries PHI.
- storage.allowed_ip_ranges has no effect unless storage.public_network_access_enabled is true.
- Each entry of storage.allowed_ip_ranges must be a public IPv4 address or range, such as 203.0.113.7 or 198.51.100.0/24: no spaces, no leading zero in the prefix, and no IPv6 (Azure Storage's IP rules take IPv4 only).
- Azure Storage does not take a /31 or /32 range in an IP rule: write each address in storage.allowed_ip_ranges on its own, without a prefix.
- storage.allowed_ip_ranges must not hold a range wider than a /8 (0.0.0.0/0 included): the account carries PHI. Name your SFTP clients' ranges.
- The ranges in storage.allowed_ip_ranges add up to more addresses than one /8 (16,777,216): the account carries PHI. Name your SFTP clients' ranges.
- storage.allowed_ip_ranges must not hold or overlap a private range (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16): Azure Storage's IP rules take public addresses only. Clients in your virtual network reach the account through its private endpoint.
- storage.soft_delete_retention_days must be a whole number from 1 to 365.
- Each storage.sftp_users name must be 3 to 32 lowercase letters and digits, starting with a letter.
- Each storage.sftp_users entry needs 1 to 10 SSH public keys: a user signs in with a key, never a password.
- Each SSH key in storage.sftp_users must be one public key on one line, in OpenSSH form: its type (such as ssh-rsa), its base64 data and an optional comment. Never a private key.
- Each storage.sftp_users entry's permissions must be one or more of create, write, list, read and delete.
- With storage enabled, the module sets AZURE_CLIENT_ID, PATHWAYS_AZBLOB_ACCOUNT, PATHWAYS_AZBLOB_CONTAINER and PATHWAYS_SFTP_<USER>_CONTAINER on the app: do not pass them in environment_variables.
tags
Optional.
Tags added to every resource that takes them.
Type:
map(string)
Default: {}
unsafe_allow_mllp_from_any_address
Optional.
Allow ranges in ingress_allowed_cidrs that cover every address or most of it: a /0 (0.0.0.0/0, ::/0), an IPv4 range shorter than /8, an IPv6 range shorter than /32, a wide IPv4-mapped IPv6 range, or a list adding up to every IPv4 address. MLLP has no authentication of its own and carries PHI: with a public environment this opens the engine's intake to the whole internet. Leave it false.
Type:
bool
Default: false
Outputs
11 outputs, by name.
alarms
With alarms on: the ids of the five metric alerts by key (store_down, oldest_pending_age, queue_depth, refused_messages, settled_failed), the Application Insights resource the metrics go to, and the name of the Key Vault secret that holds the health token. Null with alarms off. The token itself is in no output, no plan and no state.
database_url_secret_name
The Key Vault secret the app and the migrate job read the database URL from: database-url, which the module writes, or existing_postgres.database_url_secret_name.
http_port
The port the engine's HTTP source listens on behind HTTP ingress, or null for MLLP over TCP ingress.
identity
The user-assigned managed identity the apps and jobs run as: its resource id, client id and principal id. Grant it AcrPull on a private registry.
key_vault
The Key Vault's id, name and URI. Put each master key named in encryption_key_secrets here.
log_analytics_workspace_id
The Log Analytics workspace the environments send logs to.
mllp_ports
The MLLP ports each slot exposes.
postgres
The PostgreSQL server's id, host name and database, the role the engine signs in as (database_user: the managed identity's name, or pathways_admin with a password), how it signs in (database_auth: entra, or password with one), and the password administrator's login (null unless postgres.administrator_password_version is set). No output holds a password. Null with existing_postgres: the module made no server.
slots
Per slot: the environment's id, static IP address (where senders connect for MLLP) and default domain, the app's id, name and address (fqdn, where senders connect for HTTP over TLS), and the migrate job's name.
standby_replica
Whether the app runs a second replica as the engine's warm standby.
storage
With storage on: the account's id and name, the engine's container, the SFTP host (port 22), each SFTP user's sign-in name and container, and the plain environment variables the app gets for its channels. Null with storage off.