https://pulumi.com logo
#general
Title
# general
a

ancient-solstice-62300

03/16/2022, 11:04 PM
Hey all, I was wondering if someone else got this behaviour. Running pulumi up, the preview shows something different than what the update will actually do. For example the preview: 2022-03-16T072425.3394059Z ~ 7 to update 2022-03-16T072425.3394311Z - 1 to delete 2022-03-16T072425.3394599Z 8 changes. 376 unchanged But the update finishes successfully reporting this: 2022-03-16T072710.8394827Z Resources: 2022-03-16T072710.8395196Z ~ 2 updated 2022-03-16T072710.8395579Z 382 unchanged 2022-03-16T072710.8395722Z 2022-03-16T072710.8395984Z Duration: 2m8s Is this normal?
l

little-cartoon-10569

03/16/2022, 11:06 PM
If some of the resources are changed inside applys, then yes.
1
Always do your best to define resources outside apply().
Your calls to apply() can generally happen when assigning values in the constructor.
3 Views