mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-16 17:35:13 +01:00
Support nested object
This commit is contained in:
parent
55506d3748
commit
b50fa51e9c
8 changed files with 143 additions and 96 deletions
|
|
@ -19,8 +19,18 @@ data "corsschool_class" "test" {
|
|||
output "class" {
|
||||
value = data.corsschool_class.test
|
||||
}
|
||||
|
||||
/*
|
||||
resource "corsschool_class" "myclass" {
|
||||
name = "meow"
|
||||
description = "???"
|
||||
}*/
|
||||
data "corsschool_kitty" "name" {
|
||||
name = "a"
|
||||
paws = {
|
||||
left = "x"
|
||||
right = "y"
|
||||
}
|
||||
}
|
||||
output "kitty_paw" {
|
||||
value = data.corsschool_kitty.name.paws.right
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue