mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-14 16:35:11 +01:00
init corsschool
This commit is contained in:
parent
dc76e01e92
commit
b5a28e4e94
6 changed files with 552 additions and 42 deletions
24
terraform-provider-corsschool/test/main.tf
Normal file
24
terraform-provider-corsschool/test/main.tf
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue