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