(aws-appconfig-alpha): ConfigurationContent.fromFile() doesn't work for relative paths #26937
Closed
2 tasks
Labels
@aws-cdk/aws-config
Related to AWS Config
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
ConfigurationContent.fromFile()
does not currently work for relative file paths. E.g. if my package structure is something like:/lib/app.ts
/config/dummy-config.json
It would be useful if from in
app.ts
I could reference the config file byConfigurationContent.fromFile(../config/dummy-config.json)
Use Case
My code package gets built in different environments, so the absolute path will not be static. Using a relative path would ensure that I can safely reference the config file I want to deploy to AppConfig.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
"@aws-cdk/aws-appconfig-alpha": "^2.93.0-alpha.0"
Environment details (OS name and version, etc.)
Amazon Linux 5.4.250-173.369.amzn2int.x86_64
The text was updated successfully, but these errors were encountered: