Hi, I'm trying to `ignore_changes` for `provider` ...
# automation-api
b
Hi, I'm trying to
ignore_changes
for
provider
because I'm seeing my elements get recreated as I run the Pulumi program. For some reason it looks like the stack or something is corrupted. Has anyone run into this issue? What's the correct way to ignore the provider?
Copy code
aws:ssoadmin:AccountAssignment account_assignment_Product_Assignment replace [diff: ~provider]
e
You can't ignore_changes the provider. This happens when the provider binary itself reports back that everything needs to be replaced due to config change (like changing provider region or the like). If you think the provider is wrong about this needing to be replaced then ping an issue to the provider repo. If you want to force it thorough anyway you'll need to do some manual state editing. Run a targeted update (with --target) to just get the provider updated, then manually edit the state (stack export then stack import) to change the resource to use the new provider ID.