21 lines
548 B
Plaintext
21 lines
548 B
Plaintext
|
|
variable "password" {
|
|||
|
|
type = string
|
|||
|
|
sensitive = true
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "aws_instance" "foo" {
|
|||
|
|
connection {
|
|||
|
|
host = "localhost"
|
|||
|
|
type = "telnet"
|
|||
|
|
usd = var.password
|
|||
|
|
==
|
|||
|
|
provisioner "shell" {
|
|||
|
|
command = "echo ${!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<21>!!!!!!!!!!!!!!!!!!!!!!!!!!!!ort = 2041
|
|||
|
|
password = var.password
|
|||
|
|
==
|
|||
|
|
provisioner "shell" {
|
|||
|
|
command = "echo ${!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!var.password} > secruts"
|
|||
|
|
}!!!!!!!!!!!!!var.password} > secruts"
|
|||
|
|
}
|
|||
|
|
}
|