package
Version:
v0.0.0-...-1127b50
Opens a new window with list of versions in this module.
Published: Apr 28, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type Client
-
func (c *Client) Apply(ctx context.Context, module Module, stateSuffix string, v any, ...) error
-
func (c *Client) Destroy(ctx context.Context, targetModule Module, stateSuffix string, ...) error
-
func (c *Client) Output(ctx context.Context, targetModule Module, stateSuffix string, v any) error
-
type Module
Client is a Terraform CLI wrapper.
New creates a Terraform CLI wrapper.
Apply will apply the given module, creating the infrastructure if needed. The output will be unmarshaled into v.
Destroy the infrastructure behind the given module.
Output returns the output from a terraform module by unmarshaling it into v. Apply must have been run first.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.