aws / aws/aws-appsync-community

Add environment variables support for JS resolvers

Open
#267 2 comments 3 reactions 0 assignees View on GitHub
feature-request
Dominant language
HTML
Stars
507
Forks
37
PR merge metrics
No merged PRs in 30d

Description

When a script needs some information about other resources, the primary way is to use environment variables. For example, I have this Terraform script:

```
resource "aws_appsync_function" "Mutation_pairUsers_1" {
# ...
code = <

Contributor guide

Open the contributing guide

Research direction

Start with the Terraform aws_appsync_function example and the JavaScript resolver entry point shown in the issue. Determine how values such as the DynamoDB table name should become available through process.env instead of interpolation. Done means a resolver can read the configured resource value from process.env and the behavior is documented or verified with an equivalent example.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript, terraform
Domain
api, backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.