Skip to content

Draft: Update project_access_token to use the Terraform Plugin Framework && Implement Rotation

Patrick Rice requested to merge support-automated-token-rotation into main

Closes #6164 (closed)

This MR will do the following things:

  • Migrate gitlab_project_access_token from the SDK to the Plugin Framework. This is required to support PlanModifiers to automatically determine when a plan should show up for computed values.
  • Migrate gitlab_group_access_token from the SDK to the Plugin Framework. This is required for the same reason as above

In addition to the migration (and the new tests that will require), this will also add a rotation_configuration attribute to both resources. That configuration will allow users to define a duration and how long before the expiration the token should be rotated.

Merge request reports