terraform-provider-gitea/docs/resources/repository.md
Tobias Trabelsi f9d36151fc
All checks were successful
continuous-integration/drone/push Build is passing
added possibility to create migrations as well
2022-06-04 22:43:23 +02:00

1.7 KiB

page_title subcategory description
gitea_repository Resource - terraform-provider-gitea Handling Repository resources

gitea_repository (Resource)

Handling Repository resources

Schema

Required

  • name (String)
  • username (String)

Optional

  • allow_manual_merge (Boolean)
  • allow_merge_commits (Boolean)
  • allow_rebase (Boolean)
  • allow_rebase_explicit (Boolean)
  • allow_squash_merge (Boolean)
  • archived (Boolean)
  • auto_init (Boolean)
  • autodetect_manual_merge (Boolean)
  • default_branch (String)
  • description (String)
  • gitignores (String)
  • has_issues (Boolean)
  • has_projects (Boolean)
  • has_pull_requests (Boolean)
  • has_wiki (Boolean)
  • ignore_whitespace_conflicts (Boolean)
  • issue_labels (String)
  • license (String)
  • migration_clone_addresse (String)
  • migration_issue_labels (Boolean)
  • migration_lfs (Boolean)
  • migration_lfs_endpoint (String)
  • migration_milestones (Boolean)
  • migration_mirror_interval (String) valid time units are 'h', 'm', 's'. 0 to disable automatic sync
  • migration_releases (Boolean)
  • migration_service (String) git/github/gitlab/gitea/gogs
  • migration_service_auth_password (String, Sensitive)
  • migration_service_auth_token (String, Sensitive)
  • migration_service_auth_username (String)
  • mirror (Boolean)
  • private (Boolean)
  • readme (String)
  • repo_template (Boolean)
  • website (String)

Read-Only

  • created (String)
  • id (String) The ID of this resource.
  • permission_admin (Boolean)
  • permission_pull (Boolean)
  • permission_push (Boolean)
  • updated (String)