mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
12 lines
232 B
HCL
12 lines
232 B
HCL
resource "aws_instance" "foo" {
|
|
}
|
|
|
|
// this will be postponed until apply
|
|
data "aws_data_source" "foo" {
|
|
foo = aws_instance.foo.id
|
|
}
|
|
|
|
// this will cause an error in the final plan
|
|
resource "test_instance" "bar" {
|
|
foo = "error"
|
|
}
|