Skip to content

fix: Remove group and project variable resources from state when they are no longer found

If a group or project variable that is managed by terraform is removed manually, it results in errors in subsequent plan/apply commands. The first time the command is run, the ID is set to the empty string. The following run, the ID cannot be validated and returns the Invalid resource ID format error. The only workaround after that point is removing the object from state manually.

Signed-off-by: Jonathan Dorsey jonathand@liatrio.com

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading