packer: add default to aws auth variables
So you don't have to pass these if packer is supposed to find them on its own (instance profile, local profile). Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
4ae71d3f3d
commit
cd394bf67d
1 changed files with 8 additions and 2 deletions
|
|
@ -2,8 +2,14 @@
|
|||
# when running `packer build`
|
||||
|
||||
# AWS account configuration.
|
||||
variable "aws_access_key" { type = string }
|
||||
variable "aws_secret_key" { type = string }
|
||||
variable "aws_access_key" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "aws_secret_key" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "region" {
|
||||
type = string
|
||||
default = "us-east-1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue