Skip to content

resource/gitlab_project_protected_environment: Migrate to framework and...

Timo Furrer requested to merge environments-perpetual-diff into main

resource/gitlab_project_protected_environment: Migrate to framework and resolve perpetual diff bug. Closes #1266 (closed)

This change migrates the gitlab_projet_protected_environment resource from the Terraform Plugin SDK to the Terraform Plugin Framework. A test ensures that a full configuration can be safely migrated with a previous state.

In addition, this change fixes the long waiting perpetual diff bug of the SDK resource, because the deploy_access_levels attribute was limited to a list - now we can make it an unordered set.

Review Help:

I suggest to review commit by commit while only the last is the actual change mentioned above. The others are refactoring changes which moves SDK and Framework common code into the shared utils package.

Closes: #1266 (closed)

Merge request reports