util

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentAccountId added in v0.13.0

func GetCurrentAccountId(session *session.Session) (string, error)

func HasAWSBackupTag added in v0.29.4

func HasAWSBackupTag(tags []*ec2.Tag) bool

Check if the image has an AWS Backup tag Resources created by AWS Backup are listed as owned by self, but are actually AWS managed resources and cannot be deleted here.

func UniqueID

func UniqueID() string

Returns a unique (ish) id we can attach to resources and tfstate files so they don't conflict with each other Uses base 62 to generate a 6 character string that's unlikely to collide with the handful of tests we run in parallel. Based on code here: http://stackoverflow.com/a/9543797/483528

Types

This section is empty.

Jump to

Keyboard shortcuts

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