mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-03 20:30:28 -06:00
terraform: reference an output so it isn't pruned during plan
This commit is contained in:
parent
6914d605c8
commit
e6be4fefe8
@ -5,3 +5,6 @@ variable "map_in" {
|
||||
us-west-2 = "ami-67890"
|
||||
}
|
||||
}
|
||||
|
||||
// We have to reference it so it isn't pruned
|
||||
output "output" { value = "${var.map_in}" }
|
||||
|
Loading…
Reference in New Issue
Block a user