utils

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAWSClientFromEC2IMDS added in v1.0.2

func GetAWSClientFromEC2IMDS(context context.Context) (*aws.Config, error)

GetAWSClientFromEC2IMDS retrieves AWS config from EC2 IMDS, ignoring any local AWS config (e.g. ~/.aws) and ENV variables.

This ensures that we always assume RunsOn instance profile IAM role, regardless of what happens in other GHA actions/steps.

func PrettyPrint

func PrettyPrint(v interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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