Skip to content

Commit 1b45787

Browse files
authored
Docs: update description for pipeline.spec_template.revision (#115)
## What * Update description for `pipeline.spec_template.revision` ## Why * #74 (opened before documentation overhaul) ## Notes <!-- Add any notes here --> Closes #74 ## Checklist * [x] _I have read [CONTRIBUTING.md](https://github.com/codefresh-io/terraform-provider-codefresh/blob/master/README.md)._ * [x] _I have [allowed changes to my fork to be made](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)._ * [x] _I have added tests, assuming new tests are warranted_. * [x] _I understand that the `/test` comment will be ignored by the CI trigger [unless it is made by a repo admin or collaborator](https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)._
1 parent 77ee678 commit 1b45787

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codefresh/resource_pipeline.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Or: <code>original_yaml_string = file("/path/to/my/codefresh.yml")</code>
123123
Required: true,
124124
},
125125
"revision": {
126-
Description: "The git revision of the spec template.",
126+
Description: "The git revision of the spec template. Possible values: '', *name of branch*. Use '' to autoselect a branch.",
127127
Type: schema.TypeString,
128128
Required: true,
129129
},

docs/resources/pipeline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Required:
169169

170170
- `path` (String) The relative path to the Codefresh pipeline file.
171171
- `repo` (String) The repository of the spec template (owner/repo).
172-
- `revision` (String) The git revision of the spec template.
172+
- `revision` (String) The git revision of the spec template. Possible values: '', *name of branch*. Use '' to autoselect a branch.
173173

174174
Optional:
175175

0 commit comments

Comments
 (0)