mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-28 14:00:58 -05:00
This is a refactored version of the `remote` backend that was initially added to Terraform v0.11.8 which should now be compatible with v0.12.0.
15 lines
296 B
Go
15 lines
296 B
Go
package remote
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/backend"
|
|
)
|
|
|
|
// CLIInit implements backend.CLI
|
|
func (b *Remote) CLIInit(opts *backend.CLIOpts) error {
|
|
b.CLI = opts.CLI
|
|
b.CLIColor = opts.CLIColor
|
|
b.ShowDiagnostics = opts.ShowDiagnostics
|
|
b.ContextOpts = opts.ContextOpts
|
|
return nil
|
|
}
|