0

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?

3
  • What is composer? Commented Nov 20 at 16:27
  • 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... Commented Nov 20 at 16:29
  • Is the cdk supposed to build and deploy the docker to ect? Commented Nov 20 at 16:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.