Skip to content

Add AppConfig parameter provider #187

Closed
@thomasklinger1234

Description

@thomasklinger1234

Is your feature request related to a problem? Please describe.
Currently, the parameter provider supports SSM, SecretsManager and DynamoDB. However, there is another configuration service which currently is not implemented: AppConfig.

Describe the solution you'd like
Create a native implementation for AppConfigProvider. It will fetch the current configuration version based on application, environment and (optionally) client configuration version. If the client is not set, it should default to POWERTOOLS_SERVICE_NAME.

NOTE For the _get_multiple function I do not have a clever semantic mapping for AppConfig. This is something that should be discussed.

For DynamoDB this is multiple items, for SSM multiple parameters. Some considerations for multiple parameters:

  • Multiple environments
  • Multiple keys extracted from the underlying JSON object in AppConfig using something like JSONpath (or JMESPath) for extracting the values

Describe alternatives you've considered
I have implemented it on my own following https://awslabs.github.io/aws-lambda-powertools-python/utilities/parameters/#create-your-own-provider but it would be nice to have this in powertools integrated.

Additional context

Metadata

Metadata

Assignees

Labels

feature-requestfeature requesthelp wantedCould use a second pair of eyes/hands

Type

No type

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions