I'm working on a CDK deployment. I'm trying to set up a stack that creates a ECR image which is completely build the way I want. However, I'm stuck at the part of getting the private repositories which you can add through composer config --global --auth http-basic."$REPOSITORY" "$USERNAME" "$PASSWORD". I have the repo, username and password stored in AWS Secrets Manager. What I'm trying to do is to inject those variables during the build process so I can run a fully initialized application instead of running composer install on each Fargate container. There is no way that I get my secrets in my Docker container. Does anybody has a recommendation?
-
What is composer?Michael Wiles– Michael Wiles2025-11-20 16:27:30 +00:00Commented 2 days ago
-
You mention a lot of things. Secret store, cdk, fargate and composer. Not sure they all link together. Perhaps try to break your problem down into more pieces. Maybe with some paragraphs...Michael Wiles– Michael Wiles2025-11-20 16:29:50 +00:00Commented 2 days ago
-
Is the cdk supposed to build and deploy the docker to ect?Michael Wiles– Michael Wiles2025-11-20 16:30:09 +00:00Commented 2 days ago
Add a comment
|