Skip to content

Commit

Permalink
Better docs for gitlab token (#131)
Browse files Browse the repository at this point in the history
* docs

* Update env0/resource_template.go

Co-authored-by: Omry Hay <46656490+omry-hay@users.noreply.github.com>

* Update docs/resources/template.md

Co-authored-by: Omry Hay <46656490+omry-hay@users.noreply.github.com>

* Update env0/resource_template.go

Co-authored-by: Omry Hay <46656490+omry-hay@users.noreply.github.com>

* Update docs/resources/template.md

Co-authored-by: Omry Hay <46656490+omry-hay@users.noreply.github.com>

Co-authored-by: Omry Hay <46656490+omry-hay@users.noreply.github.com>
  • Loading branch information
eranelbaz and omry-hay committed Aug 9, 2021
1 parent 160aef5 commit bbb990c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource "env0_template_project_assignment" "assignment" {
- **revision** (String) source code revision (branch / tag) to use
- **ssh_keys** (List of Map of String) an array of references to 'data_ssh_key' to use when accessing git over ssh
- **terraform_version** (String) Terraform version to use
- **token_id** (String) The token id used for private git repos or for integration with GitLab
- **token_id** (String) The token id used for private git repos or for integration with GitLab, you can get this value by using a data resource of an existing Gitlab template or contact our support team
- **type** (String) 'terraform' or 'terragrunt'

## Import
Expand Down
2 changes: 1 addition & 1 deletion env0/resource_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func resourceTemplate() *schema.Resource {
},
"token_id": {
Type: schema.TypeString,
Description: "The token id used for private git repos or for integration with GitLab",
Description: "The token id used for private git repos or for integration with GitLab, you can get this value by using a data resource of an existing Gitlab template or contact our support team",
Optional: true,
},
"gitlab_project_id": {
Expand Down

0 comments on commit bbb990c

Please sign in to comment.