i have created a module for storage account. it was working fine but now even without any change its recreating storage every time i run terraform plan . here is the configuration
the force replacement is at location while i am not changing it. any idea why is it happening
The “known after apply” placeholder means that you’ve defined this argument by reference to some other resource attribute which Terraform won’t know the value of until the apply step.
Because Terraform doesn’t yet know the value, it must pessimistically assume that it will change because otherwise the remote system could be left in an inconsistent state.
To avoid this you will need to make sure this value can be known by Terraform during the planning step. However, because you didn’t share your configuration files I can’t give any more suggestions on how to achieve that.