Comments (7)
Environment variables created with arc env --add
are persisted between deployments in the same CloudFormation "stack".
So if you set them from your local machine, and your GitHub Action deploys to that same target, your Action does not need to set them again.
Note that if you change the region or name of your project in app.arc
you will create a new Stack and will need to set the environment variables again.
from grunge-stack.
Glad you got it working :)
from grunge-stack.
Ah, that makes sense, thank you very much!
from grunge-stack.
Seems like the lambda function is missing the SESSION_SECRET env variable.
"errorType": "Error",
"errorMessage": "Invariant failed: SESSION_SECRET must be set"
from grunge-stack.
Did you do this step in the README?
from grunge-stack.
I did yes, successfully too.
Though for some reason it wasn't added to the lambda function.
Just added it manually and it works 🥳
Great work with Remix! Love it!
from grunge-stack.
Did you do this step in the README?
I ran these commands locally but I'm a little confused as to how to "give your CloudFormation a SESSION_SECRET
variable..."
Should the deploy.yml
file be updated to have:
SESSION_SECRET: ${{ secrets.SESSION_SECRET }}
ARC_APP_SECRET: ${{ secrets.ARC_APP_SECRET }}
Under the relevant staging/production deploy? Or is this something I need to add to the stack somehow on AWS?
from grunge-stack.
Related Issues (20)
- LiveReload does not work HOT 1
- Starting project is throwing Error [ERR_PACKAGE_PATH_NOT_EXPORTED] error HOT 2
- "Lambda handler not found" error due to change in `@architect/architect` v10.6.0 HOT 4
- Setup fails HOT 2
- 🚀 Fresh Stack Deployment Not Working As Expected HOT 2
- Loading notes locally takes 900ms in grunge stack compared to 30ms in indie HOT 1
- remix defer is malfunctioning by awaiting and blocking responses HOT 4
- Fresh unaltered template will not deploy with Github Actions HOT 2
- Cypress smoke test fails with newly initialized project HOT 1
- @prisma/client did not initialize yet HOT 1
- Fresh deployment leads to Internal Server Error HOT 1
- Error occurs after fresh installation HOT 1
- notes example app is slow
- 401 Unauthorized at localhost. Clerk error integration HOT 10
- remix grunge stack aws HOT 4
- NPM Fails to Install dependencies HOT 3
- Logout route is not destroying the user session
- Installation fails HOT 1
- Updating grunge-stack to lastest versions HOT 5
- Replace `run-p` with `npm-run-all -p-` because the former doesn't kill all process when pressing CTRL+C in windows HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunge-stack.