Hello everyone,
We have migrated our entire engineering platform’s definition from CloudFormation to Pulumi, which has been a great success.
The platform is split over multiple projects, such as the common infrastructure and a project per service in the platform. They can all be set up in differents stacks, such as
production
,
recovery
,
preprod
and others, but regardless of which stack we set up or upgrade, there is one problem we cannot figure out or find a solution for:
We normally set up stacks using an AWS State Machine (which is itself defined in Pulumi), which lets us control all aspects of deployment, readiness, recovery, upgrades and much more. This works flawlessly across all projects, and we can if needed run a
pulumi up
from any local machine to try out changes in, for instance,
preprod
. This works for every single project, except one, which, when run from ay other place than the State Machine, always wants to replace every single resource due to
replace [diff: ~provider]
.
We do not use any custom providers or explicit provider configurations, and it happens for only one project.
Has anyone seen something similar, or have an idea of things to look for or try, in order to resolve this?
Grateful for any help you may be able to provide.