Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from aws.Config v1 to v2 #39

Open
qNanna opened this issue May 18, 2024 · 0 comments
Open

Migrate from aws.Config v1 to v2 #39

qNanna opened this issue May 18, 2024 · 0 comments

Comments

@qNanna
Copy link

qNanna commented May 18, 2024

tempConfig, _ := awsConfigV2.LoadDefaultConfig(context.TODO())
paramStore, _ := awsParamStore.NewParameterStore(&tempConfig)

cannot use &tempConfig (value of type *"github.com/aws/aws-sdk-go-v2/aws".Config) as *"github.com/aws/aws-sdk-go/aws".Config value in argument to awsParamStore.NewParameterStore

How i can use default config like from ~/.aws/credentials or like v2 LoadDefaultConfig(context.TODO()) for setup keys without store in code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant