tfupdate

package
v0.10.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package tfupdate provides the Terraform dependency resolver and lock sync plugin for TerraCi.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckRequest added in v0.10.5

type CheckRequest struct {
	Write         bool
	ModulePath    string
	OutputFormat  cliout.Format
	Target        string
	Bump          string
	Pin           bool
	Timeout       string
	LockPlatforms []string
}

type Plugin

type Plugin struct {
	plugin.BasePlugin[*tfupdateengine.UpdateConfig]
	// contains filtered or unexported fields
}

Plugin is the Terraform dependency resolver plugin.

func (*Plugin) BuildInitConfig

func (p *Plugin) BuildInitConfig(state *initwiz.StateMap) (*initwiz.InitContribution, error)

BuildInitConfig builds the update init contribution.

func (*Plugin) Commands

func (p *Plugin) Commands() []*cobra.Command

Commands returns the CLI commands provided by the tfupdate plugin.

func (*Plugin) InitGroups

func (p *Plugin) InitGroups() []*initwiz.InitGroupSpec

InitGroups returns the init wizard group specs for the update initwiz.

func (*Plugin) PipelineContribution

func (p *Plugin) PipelineContribution(ctx *plugin.AppContext) (*pipeline.Contribution, error)

PipelineContribution adds a dependency update check job to the pipeline DAG. Only contributes when pipeline: true is set in config.

func (*Plugin) PipelineContributionEnabled added in v0.10.3

func (p *Plugin) PipelineContributionEnabled(_ *plugin.AppContext) (bool, error)

func (*Plugin) Preflight

func (p *Plugin) Preflight(_ context.Context, _ *plugin.AppContext) error

Preflight validates tfupdate plugin configuration.

func (*Plugin) Reset

func (p *Plugin) Reset()

Reset resets command-scoped plugin state.

func (*Plugin) Runtime

func (p *Plugin) Runtime(ctx context.Context, appCtx *plugin.AppContext) (any, error)

Directories

Path Synopsis
Package tfupdateengine provides the core logic for Terraform dependency resolution and lock synchronization.
Package tfupdateengine provides the core logic for Terraform dependency resolution and lock synchronization.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL