Is there any way to create a distinction between the variables defined for a build vs runtime?

I want my build to use a different AWS access key from my application (during runtime)
8 Replies
Percy
Percy9mo ago
Project ID: N/A
Brody
Brody9mo ago
would it be possible for you to have two service variables set, something like AWS_KEY_BUILD and AWS_KEY_RUNTIME and have your build only use the environment variable thats designated for build then during runtime it would use the variable designated for runtime? i would also love to hear what the underlying usecase is here!
purduemike
purduemike9mo ago
Access to code artifact is necessary for the build, but not runtime The solution you provided might work
Brody
Brody9mo ago
you are the second person to ask for a way to separate build and runtime variables today, so the team has their eyes on this. and thanks for sharing your use case!
purduemike
purduemike9mo ago
Do you know who that was? It might be someone from our team...lol
Brody
Brody9mo ago
purduemike
purduemike9mo ago
nope, that's someone else
Brody
Brody9mo ago
haha alright, just goes to show that its definitely a needed feature then!
Want results from more Discord servers?
Add your server