I'd expect an update to the provider to invoke changes on resources dependent on that provider but that doesn't seem to be happening.
Basic setup of project I'm seeing this with:
Project Resource
Provider resource (uses output of above resource)
GCS Bucket (uses provider above)
If I change the id of a project resource (which invokes a replace), the id is updated in the provider but then resources using the provider, the GCS Bucket in this case, don't change even though they have been orphaned because the project was replaced.
I'd expect an update to the provider to invoke changes on resources dependent on that provider but that doesn't seem to be happening.
Basic setup of project I'm seeing this with:
If I change the id of a project resource (which invokes a replace), the id is updated in the provider but then resources using the provider, the GCS Bucket in this case, don't change even though they have been orphaned because the project was replaced.
Example code: https://github.com/danfhernandez/pulumi-gcpx-project/tree/master/test-project