terraform-provider-js

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 5 Imported by: 0

README

JS.tf

JavaScript × Terraform

The Next Generation AltJS.

GitHub release (latest by date) GitHub Workflow Status Maintainability Go Report Card LICENSE

resource "js_function_call" "hello_world" {
  caller   = "console"
  function = "log"
  args     = ["hello world"]
}

resource "js_program" "main" {
  contents = [js_function_call.hello_world.content]
}

resource "local_file" "main" {
  filename = "index.js"
  content  = js_program.main.content
}
$ terraform init
$ terraform apply
$ node index.js
hello world

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL