start parsing values correctly

This commit is contained in:
nora 2024-04-14 21:46:10 +02:00
parent a7822229f3
commit 43747f9cda
5 changed files with 31 additions and 25 deletions

View file

@ -11,16 +11,19 @@ provider "terustform" {}
//resource "terustform_hello" "test1" {}
data "terustform_kitty" "kitty" {
name = "mykitten"
name = "aa mykitten"
}
data "terustform_kitty" "hellyes" {
name = "a cute kitty"
name = "aa a cute kitty"
}
output "meow" {
value = data.terustform_kitty.kitty.id
}
output "hellyes" {
output "cat1" {
value = data.terustform_kitty.kitty.meow
}
output "cat2" {
value = data.terustform_kitty.hellyes.meow
}