2023-03-08 13:21:34 +00:00
|
|
|
component simpleComponent "./simpleComponent" {}
|
|
|
|
|
2023-12-14 15:43:27 +00:00
|
|
|
component multipleSimpleComponents "./simpleComponent" {
|
|
|
|
options {
|
|
|
|
range = 10
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-27 13:15:27 +00:00
|
|
|
component anotherComponent "./another-component" {}
|
|
|
|
|
2023-03-08 13:21:34 +00:00
|
|
|
component exampleComponent "./exampleComponent" {
|
|
|
|
input = "doggo"
|
2023-03-20 19:56:24 +00:00
|
|
|
ipAddress = [127, 0, 0, 1]
|
|
|
|
cidrBlocks = {
|
|
|
|
"one" = "uno"
|
|
|
|
"two" = "dos"
|
|
|
|
}
|
2023-03-23 22:25:21 +00:00
|
|
|
githubApp = {
|
|
|
|
id = "example id"
|
|
|
|
keyBase64 = "base64 encoded key"
|
|
|
|
webhookSecret = "very important secret"
|
|
|
|
}
|
|
|
|
servers = [
|
|
|
|
{ name = "First" },
|
|
|
|
{ name = "Second" }
|
|
|
|
]
|
|
|
|
deploymentZones = {
|
|
|
|
"first" = {
|
|
|
|
zone = "First zone"
|
|
|
|
},
|
|
|
|
"second" = {
|
|
|
|
zone = "Second zone"
|
|
|
|
}
|
|
|
|
}
|
2023-03-08 13:21:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output result {
|
|
|
|
value = exampleComponent.result
|
|
|
|
}
|