utils

package
v0.0.0-...-0ab2df6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindModules

func FindModules(searchDirectory string) ([]string, error)

Walk thru ./infra/terraform<provider>/main ... subdirectory to find "main.tf" files for module name(s) then return full path of slice of module names

func GetProviderData

func GetProviderData() opts.Providers

func GetTFActions

func GetTFActions() opts.TFActions

func PromptToSelectAccount

func PromptToSelectAccount(ws opts.Workspaces, provider string) int

func PromptToSelectModules

func PromptToSelectModules(listModuleNames []string) []string

func PromptToSelectProvider

func PromptToSelectProvider(p opts.Providers) (string, string)

user select provider, we return the src provider directory

func PromptToSelectTFActions

func PromptToSelectTFActions(tf opts.TFActions) string

func TFRun

func TFRun(args opts.Options, bd *opts.BuildData)

Types

This section is empty.

Jump to

Keyboard shortcuts

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