Skip to content

Commit

Permalink
datasource: change phrasing for iteration_id
Browse files Browse the repository at this point in the history
The comment was mentioning the name of an iteration Id, which is
conflicting.
This commit rephrases the comment to directly specify the ID of the
iteration.
  • Loading branch information
lbajolet-hashicorp committed Jul 13, 2022
1 parent fabfc8f commit 819cc50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datasource/hcp-packer-image/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type Config struct {
// `hcp_packer_image`s use a shared `hcp_packer_iteration` that will
// only generate one potentially billable request.
Channel string `mapstructure:"channel" required:"true"`
// The name of the iteration Id to use when retrieving your image
// The ID of the iteration to use when retrieving your image
// Either this or `channel` MUST be set.
// Mutually exclusive with `channel`
IterationID string `mapstructure:"iteration_id" required:"true"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
`hcp_packer_image`s use a shared `hcp_packer_iteration` that will
only generate one potentially billable request.

- `iteration_id` (string) - The name of the iteration Id to use when retrieving your image
- `iteration_id` (string) - The ID of the iteration to use when retrieving your image
Either this or `channel` MUST be set.
Mutually exclusive with `channel`

Expand Down

0 comments on commit 819cc50

Please sign in to comment.