scaleway/compute-instance v2.2.0
Two follow-ups to scaleway/compute-instance's keyring_entries (ADR-0100):
-
encryption_key_aliasis now actually optional forkind = "bucket"entries. The type already declared itoptional(string), but the render unconditionally interpolated it, which errors onnull. A bucket entry with no associated encryption key now renders cleanly without that field. -
New
environment_variablesinput — a genericmap(string)of key/value environment variables, usable with any profile (not justpigeon-cli), written to/etc/profile.d/pigeon-env.shand sourced both early inruncmd(so it's available at first boot) and automatically by later interactive login shells (so it's available to a manualpigeon-cliSSH session too). Markedsensitive = true. This lets callers inject secrets such aspigeon-cli'sPIGEON_SECRET_<ALIAS>-named keyring secrets without this module hardcoding that naming convention.
Both changes are backwards compatible (environment_variables defaults to {}; the encryption-key fix only makes a previously-erroring case succeed). See ADR-0101 (docs/adr/0101-add-environment-variables-and-optional-keyring-encryption-key.md) for full rationale.