Skip to content

Support optional YAML per AppConfigStore instance for feature_flags #1179

Closed
@whardier

Description

@whardier

Is your feature request related to a problem? Please describe.

Alter feature_flags to use default transform JSON but allow for YAML as well. Currently need to alter global in order to utilize YAML.

Describe the solution you'd like

https://github.com/awslabs/aws-lambda-powertools-python/blob/79414c8164e839cdfe1839c2c9f0d590df33f4b2/aws_lambda_powertools/utilities/feature_flags/appconfig.py#L15 needs to be DEFAULT_TRANSFORM_TYPE and transform arguments needs added to AppConfigStore.__init__

Describe alternatives you've considered

Would like to standardize to YAML for appconfig all around and this is a blocker.

Additional context

Just a nit.

Activity

michaelbrewer

michaelbrewer commented on Oct 26, 2021

@michaelbrewer
Contributor

This would have to include an optional dependency like PyYaml

heitorlessa

heitorlessa commented on Apr 28, 2022

@heitorlessa
Contributor

Closing as dup: #1170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @whardier@heitorlessa@michaelbrewer

        Issue actions

          Support optional YAML per AppConfigStore instance for feature_flags · Issue #1179 · aws-powertools/powertools-lambda-python