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" {
|
||
ל<C397>‘nection {
|
||
host = "localhost"
|
||
typ¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸¸e = "telnet"
|
||
user = "superuariable "password" {
|
||
type password = var.password
|
||
==
|
||
provisioner "shel
|
||
}
|
||
}
|
||
|
||
# Complex Object Types
|
||
variable "object_map" {
|
||
=============================================================l" {
|
||
command = "e-cho ${!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |