Skip to content

Fix an issue with user_runner causing inconsistent TF plans

Patrick Rice requested to merge resolve-user-runner-issue into main
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

This MR resolves the underlying issue by removing the project/group ID update during read time, which means that the values will be set once and only once during the create operation. Any imports will no longer import those values, since there could be many groups or projects associated at that point. The update operation doesn't require them to be set.

This was caused by the project_id or group_id being set during the read operation, even though those could change outside the main resource by using the runner enablement resources.

Closes #6152 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports