awsconfig

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProfileName = "localstack"
)

Variables

This section is empty.

Functions

func CheckProfileStatus added in v0.5.6

func CheckProfileStatus(resolvedHost string) (profileStatus, error)

CheckProfileStatus determines which AWS profile files need to be written or updated.

func EnsureProfile added in v0.5.6

func EnsureProfile(ctx context.Context, sink output.Sink, interactive bool, resolvedHost string) error

EnsureProfile checks for the LocalStack AWS profile and either emits a note when it is incomplete or triggers the interactive setup flow. resolvedHost must be a host:port string (e.g. "localhost.localstack.cloud:4566").

func ProfileExists added in v0.5.8

func ProfileExists() (bool, error)

ProfileExists reports whether the localstack profile section is present in both ~/.aws/config and ~/.aws/credentials.

func Setup

func Setup(ctx context.Context, sink output.Sink, resolvedHost string, status profileStatus) error

Setup checks for the localstack AWS profile and prompts to create or update it if needed. resolvedHost must be a host:port string (e.g. "localhost.localstack.cloud:4566"). status is passed in from EnsureProfile to avoid re-checking the profile status.

Types

This section is empty.

Jump to

Keyboard shortcuts

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