You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working in a DR recovery scenario and I want to be able to remove DB items from TF state when they no longer exist or are corrupt.
I want to remove a postgresql_role from the state only, but I cannot do this without referencing the provider. However, because this is a DR scenario, the provider is not able to connect to the DB, so the plan fails. Note that I am using lifecycle=false, to indicate that I only want the state to be affected, i.e. there is no need to talk to the DB.