aws

package
v0.0.0-...-603c858 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIAMCloudFormationStack

func CreateIAMCloudFormationStack()

Creates / updates the AWS CloudFormation Stack containing necessary IAM role-policies, required by ClusterAPI and the EC2 instance of the provisioned cluster.

func GetAccountID

func GetAccountID(ctx context.Context) string

Returns the AWS Account ID. NOTE : Picks up AWS credentials from the environment.

func SetAWSSpecificEnvs

func SetAWSSpecificEnvs()

Sets AWS specific environment variables, required by the 'clusterawsadm bootstrap iam' command / core.getTemplateValues( ) / AWS SDK.

Types

type AWS

type AWS struct {
	// contains filtered or unexported fields
}

func NewAWSCloudProvider

func NewAWSCloudProvider() *AWS

func (*AWS) GetSealedSecretsBackupBucketName

func (*AWS) GetSealedSecretsBackupBucketName() string

func (*AWS) SetupDisasterRecovery

func (a *AWS) SetupDisasterRecovery(ctx context.Context)

Sets up the provisioned cluster for Disaster Recovery. NOTE : Picks up AWS credentials from the environment.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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