Skip to content

Commit 28710ae

Browse files
fix some typos
1 parent 32bec9d commit 28710ae

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

codefresh/resource_account_gitops_settings.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func resourceAccountGitopsSettings() *schema.Resource {
6262
},
6363
"shared_config_repository": {
6464
Type: schema.TypeString,
65-
Description: "Shared config repository url. Must be a valid git url which contains `.git`. May also includ path and branch references",
65+
Description: "Shared config repository url. Must be a valid git url which contains `.git`. May also include path and branch references",
6666
ValidateFunc: validation.StringMatch(regexp.MustCompile(`^(https?:\/\/)(\S+)(.git)(\S*)$`), "must be a valid git url and must contain .git For example https://github.com/owner/repo.git or https://github.com/owner/repo.git/some/path?ref=branch-name"),
6767
Required: true,
6868
},

docs/resources/account_gitops_settings.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Codefresh account gitops setting - such as git provider, API URL for the git pro
1313
```hcl
1414
resource "codefresh_account_gitops_settings" "gitops-settings" {
1515
git_provider = "GITHUB"
16-
shared_config_repository = "https://github.com/example-org/codefresh-internal-shared-config.git"
16+
shared_config_repository = "https://github.com/example-org/codefresh-internal-shared-config.git?ref=main"
1717
}
1818
```
1919
```hcl
@@ -30,7 +30,7 @@ resource "codefresh_account_gitops_settings" "gitops-settings" {
3030
### Required
3131

3232
- `git_provider` (String) Git provider name - currently supported values are: GITHUB ,GERRIT ,GITLAB ,BITBUCKET ,BITBUCKET_SERVER
33-
- `shared_config_repository` (String) Shared config repository url. Must be a valid git url which contains `.git`. May also includ path and branch references
33+
- `shared_config_repository` (String) Shared config repository url. Must be a valid git url which contains `.git`. May also include path and branch references
3434

3535
### Optional
3636

@@ -42,7 +42,7 @@ resource "codefresh_account_gitops_settings" "gitops-settings" {
4242
- `name` (String) Account name for active account
4343

4444
[!WARNING]
45-
Once internal config repository is cloned successfully by one or more runtimes it can no longer be changed and all attempted updated will fail.
45+
Once internal config repository is cloned successfully by one or more runtimes it can no longer be changed and all attempted updates will fail.
4646
If you need to change the repository please contact Codefresh support.
4747

4848
## Import

templates/resources/account_gitops_settings.md.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: |-
1313
```hcl
1414
resource "codefresh_account_gitops_settings" "gitops-settings" {
1515
git_provider = "GITHUB"
16-
shared_config_repository = "https://github.com/example-org/codefresh-internal-shared-config.git"
16+
shared_config_repository = "https://github.com/example-org/codefresh-internal-shared-config.git?ref=main"
1717
}
1818
```
1919
```hcl
@@ -27,7 +27,7 @@ resource "codefresh_account_gitops_settings" "gitops-settings" {
2727
{{ .SchemaMarkdown | trimspace }}
2828

2929
[!WARNING]
30-
Once internal config repository is cloned successfully by one or more runtimes it can no longer be changed and all attempted updated will fail.
30+
Once internal config repository is cloned successfully by one or more runtimes it can no longer be changed and all attempted updates will fail.
3131
If you need to change the repository please contact Codefresh support.
3232

3333
## Import

0 commit comments

Comments
 (0)