Skip to content

Conversation

jens-kuerten
Copy link
Collaborator

@jens-kuerten jens-kuerten commented May 12, 2025

It was not possible to add environment variables that contain hyphens ( - ) in their value.
This is occasionally needed for certain API keys. (e.g. DeepL API-keys contain hyphen)

e.g. cfc env deploy myenv --environment-variables "KEY=abc-123:fx"

I fixed this by adjusting the regex.

@jens-kuerten jens-kuerten requested a review from conlwi May 12, 2025 15:41
@jens-kuerten jens-kuerten merged commit ebeff44 into main May 13, 2025
4 checks passed
@jens-kuerten jens-kuerten deleted the fix-env-var-regex branch May 13, 2025 07:08
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.

2 participants