terraform

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIsInstalled

func CheckIsInstalled() error

func GetPublicIPs added in v1.3.1

func GetPublicIPs(terraformDir string) ([]string, error)

func InitConf

func InitConf() (*hclwrite.File, *hclwrite.Body, error)

InitConf creates hclFile where we define all terraform configuration in hclFile.Body() and create .tf file where we save the content in

func RemoveDirectory

func RemoveDirectory(terraformDir string) error

RemoveDirectory remove terraform directory in .avalanche-cli. We need to call this before and after creating ec2 instance

func SaveConf

func SaveConf(terraformDir string, hclFile *hclwrite.File) error

SaveConf writes all terraform configuration defined in hclFile to tfFile

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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