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

10 messages · Page 1 of 1 (latest)

waxen drift
#

I want my build to use a different AWS access key from my application (during runtime)

loud lodgeBOT
#

Project ID: N/A

robust hinge
#

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!

waxen drift
#

Access to code artifact is necessary for the build, but not runtime

#

The solution you provided might work

robust hinge
#

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!

waxen drift
#

Do you know who that was? It might be someone from our team...lol

robust hinge
#

one sec let me find the thread

waxen drift
#

nope, that's someone else