mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-24 07:26:26 -06:00
14 lines
243 B
HCL
14 lines
243 B
HCL
variable "value" {}
|
|
|
|
resource "aws_instance" "foo" {
|
|
num = "2"
|
|
compute = "dynamical"
|
|
compute_value = "${var.value}"
|
|
}
|
|
|
|
resource "aws_instance" "bar" {
|
|
provisioner "shell" {
|
|
foo = "${aws_instance.foo.dynamical}"
|
|
}
|
|
}
|