AppConfig: Get latest deployed configuration #29162
Labels
@aws-cdk/aws-appconfig
Related to AWS AppConfig
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p3
Describe the feature
Add a command to AppConfig to retrieve a deployed configuration during CDK synthesize step.
Use Case
I have a CDK application that deploys stacks like this:
Problem
For now
clients
is an array stored in code. Theclients
information is managed by another team. So, every time they want to modify it, they need to open a ticket.Goal
I want to give them the ability to edit themselves the information of
client
using an AWS resource. This will allow me to change the CDK application to this:This would separate the logic from data with a good user experience.
Proposed Solution
One option would be to implement it similar to the static method SSM fromStringParameterAttributes.
Other Information
Options I considered to deploy the
clients
and read fromGetClientsFromConfig
:const config = deployment.readFromLastVersion(/*...*/)
(do not exist)I am still open to other solutions, if they exist.
But, as far as I gather AppConfig would be the best alternative.
Acknowledgements
CDK version used
2.128.0
Environment details (OS name and version, etc.)
MacOS Apple M1 Pro
The text was updated successfully, but these errors were encountered: