39 lines
851 B
Plaintext
39 lines
851 B
Plaintext
|
|
variable "password" {
|
|||
|
|
type = string
|
|||
|
|
sensitive = true
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
r# Required
|
|||
|
|
variable "foo" {
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# Optional
|
|||
|
|
variable "bar" {
|
|||
|
|
default = "baz"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# Mappi!ng
|
|||
|
|
variable "map" {
|
|||
|
|
default = {
|
|||
|
|
foo = "bar"esource "aws_instance" "foo" {
|
|||
|
|
ל<><D79C>nection {
|
|||
|
|
host = "localhost"
|
|||
|
|
typ<79><70><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>e = "telnet"
|
|||
|
|
user = "superuariable "password" {
|
|||
|
|
type password = var.password
|
|||
|
|
==
|
|||
|
|
provisioner "shel
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# Complex Object Types
|
|||
|
|
variable "object_map" {
|
|||
|
|
=============================================================l" {
|
|||
|
|
command = "e-cho ${!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |