3 Commits

7 changed files with 20 additions and 5 deletions

@ -3,7 +3,7 @@ GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
GOFMT ?= gofmt -s
VERSION = 0.10.0
VERSION = 0.11.0
test: fmt-check
go test -i $(TEST) || exit 1

@ -17,7 +17,7 @@ terraform {
required_providers {
gitea = {
source = "Lerentis/gitea"
version = "0.10.0"
version = "0.11.0"
}
}
}

@ -17,7 +17,7 @@ terraform {
required_providers {
gitea = {
source = "Lerentis/gitea"
version = "0.10.0"
version = "0.11.0"
}
}
}

@ -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)

@ -2,7 +2,7 @@ terraform {
required_providers {
gitea = {
source = "terraform.local/lerentis/gitea"
version = "0.10.0"
version = "0.11.0"
}
}
}

@ -2,7 +2,7 @@ terraform {
required_providers {
gitea = {
source = "Lerentis/gitea"
version = "0.10.0"
version = "0.11.0"
}
}
}

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