update docstring (#9617)

This commit is contained in:
Megan Marsh 2020-07-21 02:28:01 -07:00 committed by GitHub
parent 6077a9174a
commit 91775b8875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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 // set the environment variables to have the same name as the declared
// variables, with the prefix PKR_VAR_. // 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 // export PKR_VAR_aws_access_key=$YOURKEY
variable "aws_access_key" { variable "aws_access_key" {

View File

@ -147,7 +147,8 @@ run:
// set the environment variables to have the same name as the declared // set the environment variables to have the same name as the declared
// variables, with the prefix PKR_VAR_. // 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 // export PKR_VAR_aws_access_key=$YOURKEY
variable "aws_access_key" { variable "aws_access_key" {