MCPcopy
hub / github.com/Azure/aztfexport / PushState

Method PushState

internal/meta/base_meta.go:66–66  ·  view source on GitHub ↗

PushState pushes the terraform state file (the base state of the workspace, adding the newly imported resources) back to the workspace.

(ctx context.Context)

Source from the content-addressed store, hash-verified

64 ParallelImport(ctx context.Context, items []*ImportItem) error
65 // PushState pushes the terraform state file (the base state of the workspace, adding the newly imported resources) back to the workspace.
66 PushState(ctx context.Context) error
67 // CleanTFState clean up the specified TF resource from the workspace's state file.
68 CleanTFState(ctx context.Context, addr string)
69 // GetTerraformCfg generates the TF configuration from the import list. Only resources successfully imported will be processed.

Callers 2

BatchImportFunction · 0.65
PushStateFunction · 0.65

Implementers 2

baseMetainternal/meta/base_meta.go
MetaGroupDummyinternal/meta/meta_dummy.go

Calls

no outgoing calls

Tested by

no test coverage detected