Merge pull request #10 from adduc/clone_urls
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -93,7 +93,10 @@ Need to exist in the gitea instance | |||||||
| ### Read-Only | ### Read-Only | ||||||
|  |  | ||||||
| - `created` (String) | - `created` (String) | ||||||
|  | - `clone_url` (String) | ||||||
|  | - `html_url` (String) | ||||||
| - `id` (String) The ID of this resource. | - `id` (String) The ID of this resource. | ||||||
|  | - `ssh_url` (String) | ||||||
| - `permission_admin` (Boolean) | - `permission_admin` (Boolean) | ||||||
| - `permission_pull` (Boolean) | - `permission_pull` (Boolean) | ||||||
| - `permission_push` (Boolean) | - `permission_push` (Boolean) | ||||||
|   | |||||||
| @@ -530,6 +530,18 @@ func resourceGiteaRepository() *schema.Resource { | |||||||
| 				Optional: true, | 				Optional: true, | ||||||
| 				Default:  "", | 				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" + | 		Description: "`gitea_repository` manages a gitea repository.\n\n" + | ||||||
| 			"Per default this repository will be initializiled with the provided configuration (gitignore, License etc.).\n" + | 			"Per default this repository will be initializiled with the provided configuration (gitignore, License etc.).\n" + | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user