repository resource: add clone and html urls

This commit is contained in:
John Long
2022-10-29 17:41:45 -05:00
parent 04f842cdfe
commit 85b869d28b
2 changed files with 15 additions and 0 deletions

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" +