Documentation
¶
Overview ¶
Package state manages terraform state.
Index ¶
Constants ¶
View Source
const (
DefaultStateVersion = 4
)
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(opts ServiceOptions) *service
Types ¶
type Client ¶
type Client struct {
otf.JSONAPIClient
}
Client uses json-api according to the documented terraform cloud state version API [1] that OTF implements (we could use something different, something simpler but since the terraform CLI talks to OTF via json-api we might as well use this too...).
[1] https://developer.hashicorp.com/terraform/cloud-docs/api-docs/state-versions#state-versions-api
func (*Client) CreateStateVersion ¶
type ServiceOptions ¶
Click to show internal directories.
Click to hide internal directories.