From 2d0851a3fcc2330b0935b522f6633edac9fb1a18 Mon Sep 17 00:00:00 2001 From: Marwin Baumann Date: Tue, 30 Jan 2024 16:49:16 +0100 Subject: [PATCH 1/2] bug: add outputs --- outputs.tf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 outputs.tf diff --git a/outputs.tf b/outputs.tf new file mode 100644 index 0000000..33b84aa --- /dev/null +++ b/outputs.tf @@ -0,0 +1,14 @@ +output "path_with_namespace" { + value = gitlab_project.default.path_with_namespace + description = "GitLab project path with namespace" +} + +output "path" { + value = gitlab_project.default.path + description = "GitLab project path" +} + +output "id" { + value = gitlab_project.default.id + description = "GitLab project id" +} From 8ec93b2007570d77a32270aca8cff9b11663ff26 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 30 Jan 2024 15:49:47 +0000 Subject: [PATCH 2/2] docs(readme): update module usage --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de260f0..7143284 100644 --- a/README.md +++ b/README.md @@ -48,5 +48,9 @@ No modules. ## Outputs -No outputs. +| Name | Description | +|------|-------------| +| [id](#output\_id) | GitLab project id | +| [path](#output\_path) | GitLab project path | +| [path\_with\_namespace](#output\_path\_with\_namespace) | GitLab project path with namespace |