Closed valkenburg-prevue-ch closed 4 months ago
Argh, it is a non-issue. Sorry. The error is entirely on my end, outside of the provider: I am creating all mentioned resources in a module, and I had a wrong count on the module. The count should be 1, but was a larger number, so all resources were created multiple times. The error message that the resource already exists, was hence correct.
Closing.
I am seeing this in many different resources with the authentik provider: a resource was created in the past, and an subsequent "terraform apply" will falsely try to create the resource, either thinking it does not currently exist or it has changed and needs to be replaced. For example:
With the following logs:
and then
I have no idea how to reproduce this. Currently on provider version 2024.2.0, and authentik 2024.2.1.