Back to Packer

variables.pkr.hcl

website/content/partials/from-1.5/variables/foo-block.mdx

1.15.3331 B
Original Source
hcl
# variables.pkr.hcl
variable "foo" {
    type        = string
    default     = "the default value of the `foo` variable"
    description = "description of the `foo` variable"
    sensitive   = false
    # When a variable is sensitive all string-values from that variable will be
    # obfuscated from Packer's output.
}