Skip to content
Snippets Groups Projects

datasource/gitlab_project: don't fail if user has no access to push rules

Merged Timo Furrer requested to merge bugfix/push_rule-403 into main
4 files
+ 41
4
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -70,7 +70,7 @@ data "gitlab_project" "example" {
- `path` (String) The path of the repository.
- `pipelines_enabled` (Boolean) Enable pipelines for the project.
- `printing_merge_request_link_enabled` (Boolean) Show link to create/view merge request when pushing from the command line
- `push_rules` (List of Object) Push rules for the project. (see [below for nested schema](#nestedatt--push_rules))
- `push_rules` (List of Object) Push rules for the project. Push rules are only available on Enterprise plans and if the authenticated has permissions to read them. (see [below for nested schema](#nestedatt--push_rules))
- `remove_source_branch_after_merge` (Boolean) Enable `Delete source branch` option by default for all new merge requests
- `repository_access_level` (String) Set the repository access level. Valid values are `disabled`, `private`, `enabled`.
- `repository_storage` (String) Which storage shard the repository is on. (administrator only)
Loading