Carlos Thurber
06/18/2022, 2:03 PMScript
construct π
I have a Script
in one of my stacks, and when deploying (or working locally) I always see it updating like
dev-homes-app-system-configuration | UPDATE_IN_PROGRESS | Custom::SSTScript | ScriptsScriptResource45A648A2
dev-homes-app-system-configuration | UPDATE_COMPLETE | Custom::SSTScript | ScriptsScriptResource45A648A2
This happens even when there are no changes to this script or to that stack.
Is this normal for Scripts? or should I look more deeply for the cause?thdxr
06/18/2022, 2:03 PMCarlos Thurber
06/18/2022, 2:06 PMthdxr
06/18/2022, 2:08 PMthdxr
06/18/2022, 2:08 PMthdxr
06/18/2022, 2:08 PMCarlos Thurber
06/23/2022, 9:33 PMnpx sst diff
I get this
Using stage: devsystemconf
Preparing your SST app
Building function src/configuration/setup1.main
Building function src/configuration/setup2.main
Stack devsystemconf-homes-app-system-configuration
Resources
[~] Custom::SSTScript Scripts/ScriptResource ScriptsScriptResource45A648A2
ββ [~] BuiltAt
ββ [-] 1656019630761
ββ [+] 1656019688368
the only change seems to be the BuiltAt
value. and this causes this stack to deploy every time:
Deploying stacks
Checking deploy status...
devsystemconf-homes-app-system-configuration | UPDATE_IN_PROGRESS | AWS::CloudFormation::Stack | devsystemconf-homes-app-system-configuration | User Initiated
devsystemconf-homes-app-system-configuration | UPDATE_IN_PROGRESS | Custom::SSTScript | ScriptsScriptResource45A648A2
devsystemconf-homes-app-system-configuration | UPDATE_COMPLETE | Custom::SSTScript | ScriptsScriptResource45A648A2
devsystemconf-homes-app-system-configuration | UPDATE_COMPLETE_CLEANUP_IN_PROGRESS | AWS::CloudFormation::Stack | devsystemconf-homes-app-system-configuration
devsystemconf-homes-app-system-configuration | UPDATE_COMPLETE | AWS::CloudFormation::Stack | devsystemconf-homes-app-system-configuration
β
devsystemconf-homes-app-system-configuration
I would like to know if this redeployment is supposed to happen every time, even with no real changes, or if I am missing something. π