See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub

Gatsby AWS Parameter Store Environment Plugin

Gatsby plugin to map AWS parameter store paramters to environment variables at build time.

Conceptual thoughts

  • Loads all parameters from AWS System Manager / Parameter Store
  • Apply AWS Parameter-Store parameters to local node snake-case environment variables
  • Variables are prefixed with GATSBY_ and accessiable from the client side

Setup

  • npm install gatsby-plugin-aws-parameter-store-environment --save-dev
  • yarn add gatsby-plugin-aws-parameter-store-environment --dev

How to use?

gatsby-config.js

Use AWS_SDK_LOAD_CONFIG=1 or configure AWS credentials via plugin options.

{
  resolve: 'gatsby-plugin-aws-parameter-store-environment',
  options: {
    aws: {
      region: 'eu-central-1'
    }
  },
}
© 2022 Gatsby, Inc.