From 91775b88756d6fdf8a0d2964faa19335215a6701 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Tue, 21 Jul 2020 02:28:01 -0700 Subject: [PATCH] update docstring (#9617) --- website/pages/docs/builders/amazon/chroot.mdx | 3 ++- website/pages/docs/builders/amazon/ebs.mdx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/website/pages/docs/builders/amazon/chroot.mdx b/website/pages/docs/builders/amazon/chroot.mdx index 489c9e3a0..38c9c0062 100644 --- a/website/pages/docs/builders/amazon/chroot.mdx +++ b/website/pages/docs/builders/amazon/chroot.mdx @@ -131,7 +131,8 @@ Here is a basic example. It is completely valid except for the access keys: // set the environment variables to have the same name as the declared // variables, with the prefix PKR_VAR_. -// You could also hardcode them into the file, but we recommend against that. +// There are other ways to [set variables](/docs/from-1.5/variables#assigning-values-to-build-variables), including from a var +// file or as a command argument. // export PKR_VAR_aws_access_key=$YOURKEY variable "aws_access_key" { diff --git a/website/pages/docs/builders/amazon/ebs.mdx b/website/pages/docs/builders/amazon/ebs.mdx index 431709671..5c6f9dc74 100644 --- a/website/pages/docs/builders/amazon/ebs.mdx +++ b/website/pages/docs/builders/amazon/ebs.mdx @@ -147,7 +147,8 @@ run: // set the environment variables to have the same name as the declared // variables, with the prefix PKR_VAR_. -// You could also hardcode them into the file, but we recommend against that. +// There are other ways to [set variables](/docs/from-1.5/variables#assigning-values-to-build-variables) +// including from a var file or as a command argument. // export PKR_VAR_aws_access_key=$YOURKEY variable "aws_access_key" {