datasource: change phrasing for iteration_id

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.
pull/11880/head
Lucas Bajolet 4 years ago committed by Lucas Bajolet
parent fabfc8f015
commit 819cc50f31

@ -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"`

@ -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`

Loading…
Cancel
Save