alibabacloud

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TFVars

func TFVars(sources TFVarsSources) ([]byte, error)

TFVars generates AlibabaCloud-specific Terraform variables launching the cluster.

Types

type Auth

type Auth struct {
	AccessKey string `json:"ali_access_key"`
	SecretKey string `json:"ali_secret_key"`
}

Auth is the collection of credentials that will be used by terrform.

type TFVarsSources

type TFVarsSources struct {
	Auth                  Auth
	VpcID                 string
	VSwitchIDs            []string
	PrivateZoneID         string
	ResourceGroupID       string
	BaseDomain            string
	NatGatewayZoneID      string
	MasterConfigs         []*machinev1.AlibabaCloudMachineProviderConfig
	WorkerConfigs         []*machinev1.AlibabaCloudMachineProviderConfig
	IgnitionBucket        string
	IgnitionPresignedURL  string
	Publish               types.PublishingStrategy
	AdditionalTrustBundle string
	Architecture          types.Architecture
	Proxy                 *types.Proxy
}

TFVarsSources contains the parameters to be converted into Terraform variables

Jump to

Keyboard shortcuts

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