Documentation
¶
Index ¶
- Constants
- func IsStateEmpty(tf terraformer.Terraformer) (bool, error)
- func NewTerraformer(factory terraformer.Factory, config *rest.Config, ...) (terraformer.Terraformer, error)
- func NewTerraformerWithAuth(factory terraformer.Factory, config *rest.Config, ...) (terraformer.Terraformer, error)
- func TerraformVariablesEnvironmentFromCredentials(credentials *alicloud.Credentials) map[string]string
Constants ¶
View Source
const ( TerraformVarAccessKeyID = "TF_VAR_ACCESS_KEY_ID" TerraformVarAccessKeySecret = "TF_VAR_ACCESS_KEY_SECRET" TerraformProvider = "provider.alicloud" )
Variables ¶
This section is empty.
Functions ¶
func IsStateEmpty ¶ added in v1.9.0
func IsStateEmpty(tf terraformer.Terraformer) (bool, error)
IsStateEmpty checks the Terraformer state: 1. is empty or not; 2. contains resources or not
func NewTerraformer ¶
func NewTerraformer(factory terraformer.Factory, config *rest.Config, purpose, namespace, name string) (terraformer.Terraformer, error)
NewTerraformer creates a new Terraformer.
func NewTerraformerWithAuth ¶ added in v1.7.0
func NewTerraformerWithAuth(factory terraformer.Factory, config *rest.Config, purpose, namespace, name string, credentials *alicloud.Credentials) (terraformer.Terraformer, error)
NewTerraformerWithAuth creates a new Terraformer and initializes it with the credentials.
func TerraformVariablesEnvironmentFromCredentials ¶ added in v1.7.0
func TerraformVariablesEnvironmentFromCredentials(credentials *alicloud.Credentials) map[string]string
TerraformVariablesEnvironmentFromCredentials computes the Terraformer variables environment from the given ServiceAccount.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.