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")
Click to show internal directories.
Click to hide internal directories.