mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-15 17:05:11 +01:00
workspace
This commit is contained in:
parent
43747f9cda
commit
eea39e1f16
22 changed files with 166 additions and 107 deletions
24
terraform-provider-example/test/main.tf
Normal file
24
terraform-provider-example/test/main.tf
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
example = {
|
||||
source = "github.com/Nilstrieb/example"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "example" {}
|
||||
|
||||
//resource "terustform_hello" "test1" {}
|
||||
|
||||
data "example_kitty" "kitty" {
|
||||
name = "aa mykitten"
|
||||
}
|
||||
data "example_kitty" "hellyes" {
|
||||
name = "aa a cute kitty"
|
||||
}
|
||||
output "cat1" {
|
||||
value = data.example_kitty.kitty.meow
|
||||
}
|
||||
output "cat2" {
|
||||
value = data.example_kitty.hellyes.meow
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue