From 819cc50f314782fbb6cbf9448b90f1b20b129c2e Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Thu, 7 Jul 2022 09:38:38 -0400 Subject: [PATCH] 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. --- datasource/hcp-packer-image/data.go | 2 +- .../partials/datasource/hcp-packer-image/Config-required.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/datasource/hcp-packer-image/data.go b/datasource/hcp-packer-image/data.go index 3fe393548ed..36ca8b5eaa8 100644 --- a/datasource/hcp-packer-image/data.go +++ b/datasource/hcp-packer-image/data.go @@ -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"` diff --git a/website/content/partials/datasource/hcp-packer-image/Config-required.mdx b/website/content/partials/datasource/hcp-packer-image/Config-required.mdx index a1395b0f63f..cca6bec0984 100644 --- a/website/content/partials/datasource/hcp-packer-image/Config-required.mdx +++ b/website/content/partials/datasource/hcp-packer-image/Config-required.mdx @@ -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`