You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on a serverless project in vscode, I came across this problem -
Trying to set a variable to an attribute defined as an enum - i get "value is not accepted. valid values: ...".
See this simplified version:
service: test-service
provider:
name: aws
region: ${env:AWS_REGION} # this value gets an error
Expected Behavior
I'd expect it to be a warning or less.
Current Behavior
I get an error reported.
Steps to Reproduce
Just put this example in a file called serverless.yml and open with vscode, then wait a bit for the linting to happen.
Adding useDotenv: true or using the serverless-dotenv-plugin doesn't change this.
Environment
Windows
Mac
Linux
other (please specify)
The text was updated successfully, but these errors were encountered:
Describe the bug
Working on a serverless project in vscode, I came across this problem -
Trying to set a variable to an attribute defined as an enum - i get "value is not accepted. valid values: ...".
See this simplified version:
Expected Behavior
I'd expect it to be a warning or less.
Current Behavior
I get an error reported.
Steps to Reproduce
Just put this example in a file called serverless.yml and open with vscode, then wait a bit for the linting to happen.
Adding
useDotenv: true
or using the serverless-dotenv-plugin doesn't change this.Environment
The text was updated successfully, but these errors were encountered: