Skip to content

env vars are not resolved to there actual value #60

@orr-levinger

Description

@orr-levinger

serverless-export-env:2.2.0
node: 18
serverless: 3.24.1

in my serverless.tml in the environments section i have:

environment:
APPSYNC_URL: !Sub ${Blindchat${sls:stage}GraphQlApi.GraphQLUrl}

then i run:
sls export-env -s dev --all
and in the .env file i get:
APPSYNC_URL=${BlindchatdevGraphQlApi.GraphQLUrl}

i also have the same in the output section and there i see the actual value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions