mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-14 02:32:39 -06:00
11 lines
172 B
Terraform
11 lines
172 B
Terraform
|
resource "aws_instance" "foo" {
|
||
|
id = "foo"
|
||
|
num = "2"
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "bar" {
|
||
|
id = "bar"
|
||
|
foo = "${aws_instance.foo.id}"
|
||
|
require_new = "yes"
|
||
|
}
|