terraform
package v0.27.3
Go to latest Published: Aug 1, 2023 License:AGPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:38 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
View Source
var (// TerraformVersion is the version of Terraform used internally// when Terraform is not available on the system.// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.TerraformVersion = version.Must(version.NewVersion("1.4.6")))
Functions¶
funcFormatDiagnostic¶added inv0.20.0
func FormatDiagnostic(diag *tfjson.Diagnostic)string
Types¶
typeServeOptions¶
type ServeOptions struct {*provisionersdk.ServeOptions// BinaryPath specifies the "terraform" binary to use.// If omitted, the $PATH will attempt to find it.BinaryPathstring// CachePath must not be used by multiple processes at once.CachePathstringLoggerslog.LoggerTracertrace.Tracer// ExitTimeout defines how long we will wait for a running Terraform// command to exit (cleanly) if the provision was stopped. This// happens when the provision is canceled via RPC and when the command is// still running after the provision stream is closed.//// This is a no-op on Windows where the process can't be interrupted.//// Default value: 3 minutes (unhanger.HungJobExitTimeout). This value should// be kept less than the value that Coder uses to mark hung jobs as failed,// which is 5 minutes (see unhanger package).ExitTimeouttime.Duration}
typeState¶added inv0.18.0
type State struct {Resources []*proto.ResourceParameters []*proto.RichParameterGitAuthProviders []string}
funcConvertState¶added inv0.18.0
func ConvertState(modules []*tfjson.StateModule, rawGraphstring) (*State,error)
ConvertState consumes Terraform state and a GraphViz representationproduced by `terraform graph` to produce resources consumable by Coder.nolint:gocyclo
Click to show internal directories.
Click to hide internal directories.