example/output_upgrade/before/main.tf (13 lines of code) (raw):
resource "random_pet" "pet" {}
resource "random_integer" "number" {
max = 10
min = 0
}
output "id" {
value = random_integer.number.result
}
output "complete" {
value = {
id = random_integer.number.result
}
}