Can I disable all these outputs created by `ReactS...
# sst
a
Can I disable all these outputs created by
ReactStaticSite
? The only one that I’ve defined myself is the last one.
t
I believe we need these for replacement to work
a
Hum.
But why are exported in my stack?
So my stack has some magically added outputs?
t
Replacement has to be done after things are deployed so we do it through a custom resource function. This function needs to be able to pull the values to replace and right now we store those as outputs on the stack
I think @Frank implemented this, not sure if he has any more info on if we can avoid polluting outputs
Actually this might be for
sst-env
to work
a
😩
f
Yeah those are outputs (not exported) added for
sst-env
, so we can look up their value and feed them into ur React app.
I think this is unnecesary for
sst deploy
. only needed for
sst start
.
a
Mmm.
This output is on my Bitbucket.
So not sure why is there.
Makes sense what I’m saying?
f
Ah I see where you are coming from.
We are planning to hide the outputs created by CDK/SST internally https://github.com/serverless-stack/serverless-stack/issues/665
a
👍
Just want to have clean report on my output, mostly because is posted into Bitbucket after deploy on each PR.