mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Make sure this fails during destroy Add a note in the documentation that local values may fail during destroy.
12 lines
131 B
HCL
12 lines
131 B
HCL
provider "aws" {
|
|
region = "${local.foo}"
|
|
}
|
|
|
|
locals {
|
|
foo = "bar"
|
|
}
|
|
|
|
resource "aws_instance" "foo" {
|
|
value = "${local.foo}"
|
|
}
|