Files

52 lines
760 B
HCL
Raw Permalink Normal View History

2019-10-14 17:02:53 +02:00
variables {
key = "value"
my_secret = "foo"
image_name = "foo-image-{{user `my_secret`}}"
}
variable "image_id" {
type = string
default = "image-id-default"
}
variable "port" {
type = number
default = 42
}
variable "availability_zone_names" {
type = list(string)
default = ["us-west-1a"]
description = <<POTATO
Describing is awesome ;D
POTATO
}
variable "super_secret_password" {
type = string
sensitive = true
description = <<IMSENSIBLE
Handle with care plz
IMSENSIBLE
2020-03-09 17:25:56 +01:00
default = null
}
locals {
service_name = "forum"
owner = "Community Team"
}
2021-01-26 01:21:44 -08:00
local "supersecret" {
sensitive = true
expression = "secretvar"
}
2022-09-23 16:59:17 -04:00
source "null" "test" {
communicator = "none"
}
build {
sources = ["null.test"]
}