Skip to content

Conversation

@the-red
Copy link

@the-red the-red commented Apr 8, 2019

Hi.

Using twilio-run with --env option, I can use ACCOUNT_SID and AUTH_TOKEN variables in Twilio authorization.
However, I cannot use .env variables in my Functions.

I'd like to use .env in my Functions.
How about merging config.env into proess.env? 😃

@the-red
Copy link
Author

the-red commented Jun 7, 2019

Oh, I misunderstood how to use environment variables 😱
context.VARIABLE is correct, not process.env.VARIABLE.
https://jp.twilio.com/docs/runtime/functions/invocation#environmental-variables

I will close this pull request.

@the-red the-red closed this Jun 7, 2019
dkundel pushed a commit that referenced this pull request Aug 11, 2020
dkundel pushed a commit that referenced this pull request Aug 11, 2020
dkundel pushed a commit that referenced this pull request Aug 12, 2020
dkundel added a commit that referenced this pull request Aug 12, 2020
dkundel added a commit that referenced this pull request Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant