mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-14 16:35:11 +01:00
29 lines
No EOL
521 B
HCL
29 lines
No EOL
521 B
HCL
terraform {
|
|
required_providers {
|
|
corsschool = {
|
|
source = "github.com/Nilstrieb/corsschool"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "corsschool" {}
|
|
|
|
//resource "terustform_hello" "test1" {}
|
|
|
|
data "corsschool_kitty" "kitty" {
|
|
name = "aa mykitten"
|
|
}
|
|
data "corsschool_kitty" "hellyes" {
|
|
name = "aa a cute kitty"
|
|
}
|
|
output "cat1" {
|
|
value = data.corsschool_kitty.kitty.meow
|
|
}
|
|
output "cat2" {
|
|
value = data.corsschool_kitty.hellyes.meow
|
|
}
|
|
|
|
data "corsschool_hugo" "hugo" {}
|
|
output "hugo" {
|
|
value = data.corsschool_hugo.hugo
|
|
} |