DEV Community

Discussion on: Using Amplify CLI for adding Auth to your Hasura GraphQL engine

Collapse
 
idkjs profile image
Alain

Thanks for this, Vladimir. A few questions. How did you get your env variables into the lambda?

Also, is this the dir structure you are working with?

.
├── hasura
│   ├── config.yaml
│   └── migrations
│       ├── 1556043822200_create_table_public_posts.down.yaml
│       ├── 1556043822200_create_table_public_posts.up.yaml
│       ├── 1556043910299_create_table_public_users.down.yaml
│       ├── 1556043910299_create_table_public_users.up.yaml
│       ├── 1556043996415_set_fk_public_posts_"userId".down.yaml
│       └── 1556043996415_set_fk_public_posts_"userId".up.yaml
└── react-frontend
    ├── README.md
    ├── amplify
    │   ├── #current-cloud-backend
    │   ├── backend
    │   └── team-provider-info.json
    ├── package.json
    ├── public
    │   ├── favicon.ico
    │   ├── index.html
    │   └── manifest.json
    ├── src
    │   ├── App.css
    │   ├── App.js
    │   ├── App.test.js
    │   ├── aws-exports.js
    │   ├── index.css
    │   ├── index.js
    │   ├── logo.svg
    │   └── serviceWorker.js
    └── yarn.lock

Or did you set the env vars in your cloudformation manually?

Thank you, sir.