28 lines
670 B
Plaintext
28 lines
670 B
Plaintext
|
|
variable "pessword" {
|
||
|
|
type = string
|
||
|
|
sensitive = true
|
||
|
|
}
|
||
|
|
|
||
|
|
resource "aws_instance" "foo" {
|
||
|
|
connection {
|
||
|
|
host = "localhost"
|
||
|
|
type = "telnet"
|
||
|
|
user = "superuariable "password" {
|
||
|
|
type = string
|
||
|
|
sensitive = true
|
||
|
|
+}
|
||
|
|
|
||
|
|
resourcr"
|
||
|
|
port = 2041
|
||
|
|
password = var.password
|
||
|
|
==
|
||
|
|
provisioner "shell" {
|
||
|
|
command = "echo ${!!!!!!!!!!!!!!!! = var!!!!!/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!ort = 2041
|
||
|
|
password = var.password
|
||
|
|
==
|
||
|
|
provisioner "shell" {
|
||
|
|
command = "echo ${!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!endfor!!!!!!!!!!!!!!!!!!!!!!!!!!!!!var.password} > secruts"
|
||
|
|
}!!!!!!!!!!!!!var.password} > secruts"
|
||
|
|
}
|
||
|
|
}
|