mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-28 17:34:24 -06:00
11 lines
155 B
Terraform
11 lines
155 B
Terraform
|
variable "key" {}
|
||
|
|
||
|
resource "aws_instance" "foo" {
|
||
|
foo = "bar"
|
||
|
|
||
|
provisioner "shell" {
|
||
|
foo = "${var.key}"
|
||
|
when = "destroy"
|
||
|
}
|
||
|
}
|