mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-16 08:10:02 +00:00
dbf9188792
```bash GO111MODULE=on go get github.com/hashicorp/terraform@pluginsdk-v0.12-early7 GO111MODULE=on go mod vendor GO111MODULE=on go mod tidy ```
13 lines
227 B
Go
13 lines
227 B
Go
package statefile
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// Write writes the given state to the given writer in the current state
|
|
// serialization format.
|
|
func Write(s *File, w io.Writer) error {
|
|
diags := writeStateV4(s, w)
|
|
return diags.Err()
|
|
}
|