Coder Social home page Coder Social logo

Comments (7)

tbeseda avatar tbeseda commented on April 20, 2024 3

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.

kentcdodds avatar kentcdodds commented on April 20, 2024 1

Glad you got it working :)

from grunge-stack.

eXigentCoder avatar eXigentCoder commented on April 20, 2024 1

Ah, that makes sense, thank you very much!

from grunge-stack.

liampmccabe avatar liampmccabe commented on April 20, 2024

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.

kentcdodds avatar kentcdodds commented on April 20, 2024

image

Did you do this step in the README?

from grunge-stack.

liampmccabe avatar liampmccabe commented on April 20, 2024

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.

eXigentCoder avatar eXigentCoder commented on April 20, 2024
image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.