Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-14 03:11:05 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-14 03:11:05 +0300
commit980faa8f3421499e36ad0d9834a6353c0aeb3d3e (patch)
treee89d93e611acb30a553a5c7a9e453c00d7b28504 /app/controllers/terraform
parent52b32eecb72bceac7e1b7f57a641d25b9a7f58bc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/terraform')
-rw-r--r--app/controllers/terraform/services_controller.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/controllers/terraform/services_controller.rb b/app/controllers/terraform/services_controller.rb
new file mode 100644
index 00000000000..e7b9a94fd8e
--- /dev/null
+++ b/app/controllers/terraform/services_controller.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class Terraform::ServicesController < ApplicationController
+ skip_before_action :authenticate_user!
+
+ feature_category :infrastructure_as_code
+
+ def index
+ render json: { 'modules.v1' => "/api/#{::API::API.version}/packages/terraform/modules/v1/" }
+ end
+end