Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultHostname = "app.terraform.io"
DefaultHostname is the hostname for the public version of Terraform Cloud
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RemoteBackend ¶
type RemoteBackend struct { Hostname *string `hcl:"hostname,attr"` Organization *string `hcl:"organization,attr"` Workspaces Workspaces `hcl:"workspaces,block"` }
RemoteBackend is a Terraform remote backend configuration
func DecodeConfig ¶
func DecodeConfig(backend *configs.Backend) (*RemoteBackend, error)
DecodeConfig decodes a backend config into a RemoteBackend object
type Workspaces ¶
Workspaces is a Terraform remote backend workspaces configuration
func (*Workspaces) Multiple ¶
func (w *Workspaces) Multiple() bool
Multiple returns whether multiple workspaces are defined with a prefix
Click to show internal directories.
Click to hide internal directories.