mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-16 17:35:13 +01:00
Implement class data source
This commit is contained in:
parent
85d10ed893
commit
3c891034ee
7 changed files with 144 additions and 19 deletions
|
|
@ -26,4 +26,11 @@ output "cat2" {
|
|||
data "corsschool_hugo" "hugo" {}
|
||||
output "hugo" {
|
||||
value = data.corsschool_hugo.hugo
|
||||
}
|
||||
|
||||
data "corsschool_class" "test" {
|
||||
id = "f245514b-f99c-4c09-ab53-eabd944af6d2"
|
||||
}
|
||||
output "class" {
|
||||
value = data.corsschool_class.test
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue