Merge pull request #10 from adduc/clone_urls

This commit is contained in:
Tobias Trabelsi 2022-10-30 00:49:58 +02:00 committed by GitHub
commit 87d8cfd2e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -93,7 +93,10 @@ Need to exist in the gitea instance
### Read-Only
- `created` (String)
- `clone_url` (String)
- `html_url` (String)
- `id` (String) The ID of this resource.
- `ssh_url` (String)
- `permission_admin` (Boolean)
- `permission_pull` (Boolean)
- `permission_push` (Boolean)

View file

@ -530,6 +530,18 @@ func resourceGiteaRepository() *schema.Resource {
Optional: true,
Default: "",
},
"clone_url": {
Type: schema.TypeString,
Computed: true,
},
"html_url": {
Type: schema.TypeString,
Computed: true,
},
"ssh_url": {
Type: schema.TypeString,
Computed: true,
},
},
Description: "`gitea_repository` manages a gitea repository.\n\n" +
"Per default this repository will be initializiled with the provided configuration (gitignore, License etc.).\n" +