heroku-buildpack-datadog icon indicating copy to clipboard operation
heroku-buildpack-datadog copied to clipboard

Settings HEROKU_APP_NAME is protected

Open et opened this issue 7 years ago • 2 comments

% heroku config:set HEROKU_APP_NAME=$(heroku apps:info|grep ===|cut -d' ' -f2)

Setting HEROKU_APP_NAME and restarting ⬢ REDACTED... done, v265
 ▸    Warning: The "HEROKU_" namespace is protected and shouldn't be used.
HEROKU_APP_NAME: REDACTED

Is it possible to use a different config var for this?

et avatar Aug 25 '17 16:08 et

That's interesting - when did that become a protected namespace?

Really, all this app needs is for someone to set a variable and for the buildpack plugin here to utilize it.

miketheman avatar Sep 08 '17 13:09 miketheman

I have no clue when it became protected. It's totally fine to use the namespace variable but it may be wise to change the default config variable to avoid confusing people.

et avatar Sep 22 '17 05:09 et