mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-15 00:45:11 +01:00
start parsing values correctly
This commit is contained in:
parent
a7822229f3
commit
43747f9cda
5 changed files with 31 additions and 25 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue