aws / aws/chalice

Is it possible to refer to os level environment variable in config.json

Open
#1,265 3 comments 12 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

Hi,
Thank you for providing great python-based serverless framework.

this is not a bug report but a question.

I migrated from [serverless framework](https://serverless.com/) recently. In __serverless framework__ I could set environment os level environment variables via specific syntax.

```
create_s3_bucket:
name: ${env:S3_BUCKET_NAME}
```

https://serverless.com/framework/docs/providers/aws/guide/variables/#referencing-environment-variables

Is it possible to set os level environment variable in chalice config.json in similar way?

I will be grateful for any information you can provide.

Contributor guide

Open the contributing guide

Research direction

Start by reading how Chalice loads config.json and handles environment variables. Determine whether the requested operating-system variable reference is supported, and define completion as either documenting the existing configuration syntax or specifying the behavior needed to add it.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.