Skip to content

Commit

Permalink
Merge pull request #4 from schubergphilis/outputs
Browse files Browse the repository at this point in the history
bug: add outputs
  • Loading branch information
marwinbaumannsbp authored Jan 30, 2024
2 parents fd9a80c + 8ec93b2 commit 54195a5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@ No modules.

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_id"></a> [id](#output\_id) | GitLab project id |
| <a name="output_path"></a> [path](#output\_path) | GitLab project path |
| <a name="output_path_with_namespace"></a> [path\_with\_namespace](#output\_path\_with\_namespace) | GitLab project path with namespace |
<!-- END_TF_DOCS -->
14 changes: 14 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 54195a5

Please sign in to comment.