terragen

command
v0.0.0-...-033c724 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Terragen generates Go code for Terraform providers. It accepts one Terraform provider and generates Go structs and helper functions for the provider configuration, resources and data sources for each provider.

Usage:

gofmt [flags]

The flags are:

-force
	force code generation even if out is not an empty directory
-clean
	clean the out directory before generating Go files
-out string
	directory to generate Go files in (required)
-provider value
	provider to generate Go files for (required),
	e.g. aws=hashicorp/aws:4.49.0
-tfout string
	directory to generate Terraform providers schema
	(default ".lingon/schemas")

Jump to

Keyboard shortcuts

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