Skip to content

Create TerraformModule package class

Context

Step by step we want to complete the refactoring and extract every package format from Packages::Package to its own class.

What does this MR do and why?

This MR introduces Packages::TerraformModule::Package class for terraform modules.

Terraform module registry is in GA https://docs.gitlab.com/ee/user/packages/terraform_module_registry/, hence the changes are introduced with the feature flag.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No.

How to set up and validate locally

  1. Enable the feature flag: Feature.enable(:terraform_extract_terraform_package_model)
  2. Try basic package registry actions like publishing and installing a module docs.

Related to #435834 (closed)

Edited by Dzmitry (Dima) Meshcharakou

Merge request reports

Loading