knadh / koanf

Simple, extremely lightweight, extensible, configuration management library for Go. Support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
MIT License
2.79k stars 153 forks source link

AWS AppConfig Deprecated API #312

Open thnk2wn opened 2 months ago

thnk2wn commented 2 months ago

It looks like the appconfig provider uses the GetConfiguration API Action that was deprecated in January 2022.

Recommended actions are StartConfigurationSession and GetLatestConfiguration

Attempting to use returned error not found, ResolveEndpointV2 though I can't be sure that's due to the deprecation.

In either case, it probably makes sense to move off the deprecated AWS API. I might be able to look at a PR later.

knadh commented 2 months ago

Ah, was unaware of this. Looking forward to the PR. Thank you.

thnk2wn commented 2 months ago

@knadh https://github.com/knadh/koanf/pull/313

Ran an integration test against our account and it worked fine but I haven't done extensive testing yet.