arabold / serverless-export-env

Serverless plugin to export environment variables into a .env file
MIT License
102 stars 34 forks source link

env vars are not resolved to there actual value #60

Open orr-levinger opened 11 months ago

orr-levinger commented 11 months ago

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

dnl4 commented 8 months ago

Same here.

This is the only issue that is preventing me from using the plugin.