Skip to content

Can't sent environment variables to EB due to ERROR: InvalidSyntaxError #529

@StubbornDeer

Description

@StubbornDeer

Description

EB SETENV doesn't allow to send variables. Even this string shows the error "ERROR: InvalidSyntaxError - You must use the format KEY=VALUE to set an environment variable. Variables must start with a letter."

eb setenv FLASK_APP=commands

Steps to reproduce

In my VS Code terminal, on the computer with EB installed, just run this command.

Observed result

image

Expected result

Env variables should be sent to EB

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: Win 11
  2. EBCLI version: EB CLI 3.21.0 (Python 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)])

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions