I have an application that I need to deploy in AWS.
The application has default properties which should be overridden for each env (qa/prd etc.) using overrides.properties file.
Source code of the application is composed to docker image and sent to GPR.
I have a CDK repo which takes docker image from GPR, stores it in ECR and creates a Fargate service with AutoScaling Group.
Here somehow I have to override default properties to the specific ones for different environments.
Is there an option in CDK to add a file (overrides.properties) to docker image or to pass it to ec2 instances before running the docker container?