Skip to content

hs project migrate does not migrate environment variables to v2026.03 #1595

@marcelsemasoft

Description

@marcelsemasoft

CLI Version

8.3.0

Node.js Version

25.8.1

Operating System

Windows 11

Description

Environment variables of serverless functions (2025.1) are not migrated when migrating to v2026.03

Secrets are correctly migrated, but thats not the case for environment variables.
It seems that 2026.03 does not support any env variables, but secrets should be the way to go.

Steps to Reproduce

  1. Create project with 2025.1 and a serverless function (having an environment variable configured for the endpoint)
  2. run hs project migrate
    IS: The entry is completely discarded, there is no warning and the migration completes successful

Expected Behavior

The environment variable is available or at least migrated to a secret.

Screenshots

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions