How we got rid of .env

How we got rid of .env

SST

1 год назад

15,269 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Free Learning Hub
Free Learning Hub - 25.11.2023 12:29

sync async your own voice dude !!!

Ответить
Martin
Martin - 27.10.2023 01:49

I am stuck on retrieving this on the sst python template. Can we create an LLM to assist with configurations for SST ?

Ответить
Adam Leis
Adam Leis - 22.09.2023 16:54

I fell for it. Magical number "👍 420" - this guy

Ответить
H4KnSL4K
H4KnSL4K - 16.08.2023 23:02

Dude, I hit like and subscribe, and I feel a weight lifting off my mind already

Ответить
id104335409
id104335409 - 03.08.2023 16:09

😕

Ответить
chientrm
chientrm - 13.06.2023 07:28

Just dont have a secret 🎉🎉🎉

Ответить
Oscar Hagman
Oscar Hagman - 24.05.2023 00:18

I don't get it, where is the database? are you hosting it as a service? And how can SST access my aws account without the keys? I'm so confused

Ответить
loto olamidotun
loto olamidotun - 01.05.2023 17:53

I dint fall for it

Ответить
ui_wizard
ui_wizard - 15.04.2023 02:57

.env is only meant for local development. Who pushes it to production???? Storing them elsewhere would be a open up the attack surface, and would still end up in memory. I don't see the benefits for local development.

Ответить
Matt
Matt - 12.04.2023 08:01

wouldn't it be easier if you'd only use a .env for local development and .gitignore it? any deployment platform these days will have a place where you can set the environment variables without messing with files (aws, vercel, etc...)

Ответить
Cris
Cris - 11.04.2023 10:31

This video does a good job of highlighting what the problem is and why you should care, but very little in terms of what to do about it. An example would've gone a long way, eg gist screenshot etc

Ответить
tailsonrails
tailsonrails - 31.03.2023 18:41

Yeah cool but what if I want to develop offline? Like in a plane, on the beach or in rural Germany?

Ответить
Hrithwik Bharadwaj
Hrithwik Bharadwaj - 31.03.2023 14:02

Amazing video. Didn't understand anything

Ответить
Tomas Jansson
Tomas Jansson - 31.03.2023 12:59

I almost agree. I think .env file for local dev works fine… but they should not be handled manually. If they are generated from the output from a iac-tool it works really well. I usually use pulumi to create my environments, then I can have a script reading the dev environment and generate the .env file for local development. For actual deployment I don’t use .env file, those should be set as proper env variables.

Ответить
undefined
undefined - 31.03.2023 07:41

Sorry, but I missed the part where you actually showed how and where the secrets should be stored?

Please create a follow-up implementation video.

Ответить
Kolton Gagnon
Kolton Gagnon - 31.03.2023 03:47

When setting up SST, where/how do I setup an env variable for each stage? Is that done in a one time CLI flow? Would love to know more about that step of the setup process 🙂

Ответить
SLE 6
SLE 6 - 31.03.2023 03:24

Cloud native dev lets goooo. This is so cool to see

Ответить
BritainRitten
BritainRitten - 31.03.2023 00:29

Okay but how do I run everything locally if the secrets aren't on my machine?

Ответить
Mr Nobody
Mr Nobody - 30.03.2023 23:54

I'm not sure I understood what sst does. Or rather, I find the intro of your video very misleading because what you offer is not a solution to get rid of .env files. It's a solution that only works if you want to deploy on the cloud (AWS if I understood the basics of SST). But many projects can't use cloud : that's our case for my job. We host things on our own (sometimes internal) servers.
I feel like there can't be really a better way than .env files. Or rather, any other way would share the same downsides you describe.

Ответить
mzerone
mzerone - 30.03.2023 23:05

Think about nix flake and devenv

Ответить
noob coder
noob coder - 30.03.2023 23:02

These issues were solved much earlier by HashiCorp Vault but that thing is a beast and takes some time to learn

Ответить
Toyin
Toyin - 30.03.2023 22:15

T3 stack solve all these issues, right?

Ответить
Jay V
Jay V - 30.03.2023 22:06

Second

Ответить
Shanu Kumar Sharma
Shanu Kumar Sharma - 30.03.2023 22:01

We use sst to store our values in Parameter Store and its just perfect. Perfect to share to new developers, perfect to keep them updated all across the team if they change. Great Work !

Ответить