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
GetPublicIPs retrieves the public IP addresses for instances in different zones.
It takes in the following parameters: - terraformDir: the directory where the Terraform configuration is located. - zones: a list of zones for which to retrieve the public IP addresses.
It returns a map of zones to arrays of corresponding public IP addresses. If an error occurs, it returns nil and the error.
func InitConf ¶
InitConf creates hclFile where we define all terraform configuration in hclFile.Body() and create .tf file where we save the content in
func RemoveDirectory ¶
RemoveDirectory remove terraform directory in .avalanche-cli. We need to call this before and after creating ec2 instance
Types ¶
This section is empty.