package terraform
import "gocloud.dev/internal/testing/terraform"
Package terraform provides a function to read Terraform output.
Index ¶
Functions ¶
func ReadOutput ¶
ReadOutput runs `terraform output` on the given directory and returns the parsed result.
Types ¶
type Output ¶
type Output struct { Type string `json:"type"` // one of "string", "list", or "map" Sensitive bool `json:"sensitive"` Value any `json:"value"` }
Output describes a single output value.
Source Files ¶
terraform.go
- Version
- v0.42.0 (latest)
- Published
- Jun 28, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 8 hours ago –
Tools for package owners.