Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Nov 24, 2023
1 parent a8ee372 commit 6c1218e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/resources/git_repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ GitRepository resource

### Optional

- `https_path` (String) Manually supplied https path for non standard git setups. This is auto-inferred in many cases.
- `https_path` (String) Manually supplied https path for non standard Git setups. This is auto-inferred in many cases.
- `passphrase` (String, Sensitive) Passphrase to decrypt the given private key.
- `password` (String, Sensitive) HTTP password for http authenticated repos.
- `private_key` (String, Sensitive) SSH private key to use with this repo if an ssh url was given.
- `url_format` (String) Similar to https_Path, a manually supplied url format for custom git. Should be something like {url}/tree/{ref}/{folder}.
- `url_format` (String) Similar to `https_path`, a manually supplied url format for custom Git. Should be something like `{url}/tree/{ref}/{folder}`.
- `username` (String) HTTP username for authenticated http repos, defaults to apiKey for GitHub.

### Read-Only
Expand Down
4 changes: 2 additions & 2 deletions internal/resource/git_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ func (r *GitRepositoryResource) Schema(_ context.Context, _ resource.SchemaReque
Sensitive: true,
},
"url_format": schema.StringAttribute{
MarkdownDescription: "Similar to https_Path, a manually supplied url format for custom git. Should be something like {url}/tree/{ref}/{folder}.",
MarkdownDescription: "Similar to `https_path`, a manually supplied url format for custom Git. Should be something like `{url}/tree/{ref}/{folder}`.",
Optional: true,
},
"https_path": schema.StringAttribute{
MarkdownDescription: "Manually supplied https path for non standard git setups. This is auto-inferred in many cases.",
MarkdownDescription: "Manually supplied https path for non standard Git setups. This is auto-inferred in many cases.",
Optional: true,
},
},
Expand Down

0 comments on commit 6c1218e

Please sign in to comment.