Skip to content

Commit

Permalink
Example terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
prdoyle committed Nov 9, 2023
1 parent e80d1e7 commit b29e6ac
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions example-hello/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

terraform {
required_providers {
bosk = {
source = "vena/bosk"
version = "0.0.1"
}
}
}

provider "bosk" {
}

resource "bosk_node" "targets" {
url = "http://localhost:1740/bosk/targets"
value_json = jsonencode([
{ "somebody" = { "id" = "somebody" } },
{ "anybody" = { "id" = "anybody" } }
])
}

2 changes: 1 addition & 1 deletion example-hello/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
server.port=1111
server.port=1740
bosk.web.service-path=/bosk

0 comments on commit b29e6ac

Please sign in to comment.