Help us shape the future of Go! Take the 2026 Go Developer Survey

scaffold

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package scaffold renders a Terraform root for the DataTF module contract.

Index

Constants

View Source
const DefaultModuleSource = "536tech/workspace/databricks"

DefaultModuleSource identifies the published workspace module contract.

View Source
const DefaultModuleVersion = "1.0.0"

DefaultModuleVersion pins the tested Registry release for both layouts.

Variables

This section is empty.

Functions

func Render

func Render(opts Options) (map[string][]byte, error)

Render builds every scaffold file before the caller writes the export.

func RenderResources

func RenderResources(ex *contract.Export, opts Options, root bool) (map[string][]byte, error)

RenderResources renders module inputs and, when requested, their runnable root.

Types

type Options

type Options struct {
	Scope         contract.Scope
	Host          string
	Profile       string
	RootModule    string
	ModuleSource  string
	ModuleVersion string
}

Options control the generated root.

Jump to

Keyboard shortcuts

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