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
Describe the bug
If you have a project_user in your TF state which does not exist in Artifactory anymore, the apply fails because of a 404 error. The exact error is:
Your version of artifactory (you can curl it at $host/artifactory/api/system/version
7.99.2
Your version of terraform
1.5.6
Expected behavior
The delete operation should be considered successful in this case. If the user doen't exist (anymore), the operation can be considered a success.
Additional context
In our case we created the project_user really with ignore_missing_user = true and the user never existed, and now we want to remove him fully. But I assume this problem can also happen if somebody manually removes the user in Artifactory and then trying to update terraform afterwards.
We have seen another issue that the "refreshing state" might have some problems aorund project_user inconsistencies. I might file anoter bug report for that but need to narrow things down first. I thoughts its worth mentioning.
The text was updated successfully, but these errors were encountered:
seems we were on a very old TF provider version. On code I saw that the scenario should be covered. I updated the provider on our side. If the problem reoccures I might reopen this issue.
Describe the bug
If you have a
project_user
in your TF state which does not exist in Artifactory anymore, the apply fails because of a 404 error. The exact error is:Requirements for and issue
curl
it at$host/artifactory/api/system/version
7.99.2
1.5.6
Expected behavior
The delete operation should be considered successful in this case. If the user doen't exist (anymore), the operation can be considered a success.
Additional context
In our case we created the project_user really with
ignore_missing_user = true
and the user never existed, and now we want to remove him fully. But I assume this problem can also happen if somebody manually removes the user in Artifactory and then trying to update terraform afterwards.We have seen another issue that the "refreshing state" might have some problems aorund project_user inconsistencies. I might file anoter bug report for that but need to narrow things down first. I thoughts its worth mentioning.
The text was updated successfully, but these errors were encountered: